Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
Signed-off-by: codeSafari10 <[email protected]>
  • Loading branch information
codeSafari10 committed Jun 24, 2024
1 parent 8e367f4 commit f81f3a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/theme/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const drawerWidth = 240;
export const createCustomTheme = (mode: PaletteMode, brandPalette?: Interactiveness) => {
const basePalette = mode == 'light' ? lightModePalette : darkModePalette;
const themePalette = structuredClone(basePalette);

if (brandPalette && themePalette.background) {
themePalette.background.brand = brandPalette;
}
Expand Down

0 comments on commit f81f3a5

Please sign in to comment.