Skip to content

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mwskwong committed Aug 27, 2024
1 parent a60b5b2 commit c9b8b54
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ declare module '@mui/joy/styles/types/zIndex' {
}

const black = '#09090B';

const palette = {
common: { black: '#09090B' },
} satisfies PartialDeep<PaletteOptions>;

export const theme = extendTheme({
colorSchemes: {
light: {
Expand All @@ -26,7 +21,8 @@ export const theme = extendTheme({
solidBg: 'var(--joy-palette-primary-900)',
solidHoverBg: 'var(--joy-palette-primary-800)',
solidActiveBg: 'var(--joy-palette-primary-700)',
}
},
},
},
dark: {
palette: {
Expand All @@ -36,7 +32,8 @@ export const theme = extendTheme({
solidBg: 'var(--joy-palette-primary-50)',
solidHoverBg: 'var(--joy-palette-primary-100)',
solidActiveBg: 'var(--joy-palette-primary-200)',
}
},
},
},
},
fontFamily: {
Expand Down

0 comments on commit c9b8b54

Please sign in to comment.