Skip to content

Commit

Permalink
highlighted Buttons have unreadable text fixes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
MattReimer committed Dec 18, 2024
1 parent e58c52b commit 12ae10a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions theme/src/muiTheme.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Custom MUI theme for Riverscapes website
*/
import { SxProps, createTheme } from '@mui/material'
import { SxProps, createTheme, lighten } from '@mui/material'

declare module '@mui/material/styles' {
interface TypographyVariants {
Expand Down Expand Up @@ -176,7 +176,8 @@ export const theme = createTheme({
fontSize: '1.375rem',
},
'&:hover': {
backgroundColor: 'transparent',
color: '#fff',
backgroundColor: lighten(defaultTheme.palette.info.light, 0.2),
},
},
},
Expand Down

0 comments on commit 12ae10a

Please sign in to comment.