Skip to content

Commit

Permalink
fix the border color in dark & light themes homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed saied committed Jan 23, 2024
1 parent 1ea534b commit 1d1fccc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/src/components/showcase/ThemeToggleButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export default function ThemeToggleButton() {
textTransform: 'none',
fontWeight: 600,
color: 'grey.700',
borderColor: 'grey.200',
'&.Mui-selected': {
color: 'primary.600',
bgcolor: 'primary.100',
Expand All @@ -34,7 +33,6 @@ export default function ThemeToggleButton() {
bgcolor: 'primaryDark.900',
'& .MuiToggleButton-root': {
color: 'grey.400',
borderColor: 'primaryDark.700',
'&.Mui-selected': {
color: 'primary.100',
bgcolor: 'primary.900',
Expand Down
2 changes: 0 additions & 2 deletions docs/src/modules/brandingTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1153,15 +1153,13 @@ export function getThemedComponents(): ThemeOptions {
fontWeight: 500,
color: theme.palette.grey[700],
borderColor: theme.palette.grey[200],
zIndex: 1,
...(ownerState.size === 'small' && {
padding: '0.375rem 0.75rem',
}),
'&.Mui-selected': {
color: (theme.vars || theme).palette.primary[500],
borderColor: `${(theme.vars || theme).palette.primary[500]} !important`,
backgroundColor: (theme.vars || theme).palette.primary[50],
zIndex: 2,
'&:hover': {
backgroundColor: (theme.vars || theme).palette.primary[100],
},
Expand Down

0 comments on commit 1d1fccc

Please sign in to comment.