theme changes

This commit is contained in:
2026-04-25 13:47:42 +05:30
parent 8a3ebdb1be
commit cc7e6509d2
5 changed files with 106 additions and 46 deletions

View File

@@ -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>;
};
}