theme changes
This commit is contained in:
@@ -23,15 +23,21 @@ export interface DashboardSection {
|
||||
};
|
||||
}
|
||||
|
||||
export interface ColorDefinition {
|
||||
primary: string;
|
||||
background?: string;
|
||||
text?: string;
|
||||
}
|
||||
|
||||
export interface ThemeAwarePalette {
|
||||
light: ColorDefinition;
|
||||
dark: ColorDefinition;
|
||||
}
|
||||
|
||||
export interface DashboardConfig {
|
||||
sections: DashboardSection[];
|
||||
style?: {
|
||||
palette: Record<DashboardMode, {
|
||||
primary: string;
|
||||
light: string;
|
||||
dark: string;
|
||||
text: string;
|
||||
}>;
|
||||
palette?: Record<DashboardMode, ThemeAwarePalette>;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user