Got rid of button overrides and made a variant for text button.

This commit is contained in:
Skorpios committed 2025-03-06 17:46:43 -08:00
1 parent 5e730acd47
commit 4736f4f301
2 files changed
+27 -25

No files matched your search

+27
View File
@@ -117,6 +117,33 @@ const baseTheme = (palette) => ({
color: `${theme.palette.secondary.contrastText} !important`,
},
},
{
props: { variant: 'text', color: 'info' },
style: {
textDecoration: 'underline',
color: '#344054',
padding: 0,
margin: 0,
fontSize: '0.9rem',
fontWeight: 'normal',
backgroundColor: 'transparent',
'&:hover': {
backgroundColor: 'transparent',
textDecoration: 'underline'
},
"&.Mui-disabled": {
backgroundColor: theme.palette.secondary.main,
color: theme.palette.primary.contrastText,
"&.MuiButton-text": {
backgroundColor: 'transparent'
}
},
minWidth: 0,
boxShadow: 'none',
border: 'none'
},
},
],
height: 34,
fontWeight: 400,