feat: fixing table

This commit is contained in:
Caio Cabral committed 2025-01-09 12:19:28 -05:00
1 parent 7686b1ecf5
commit 07641a2bd8
7 files changed
+47 -17

No files matched your search

+1 -1
View File
@@ -319,7 +319,7 @@ const newSemanticColors = {
secondary: {
main: {
light: newColors.gray100,
dark: newColors.gray100,
dark: newColors.blueGray600,
},
contrastText: {
light: newColors.blueGray600,
+8
View File
@@ -41,6 +41,7 @@ const baseTheme = (palette) => ({
defaultProps: {
disableRipple: true,
},
styleOverrides: {
root: ({ theme }) => ({
variants: [
@@ -61,6 +62,13 @@ const baseTheme = (palette) => ({
backgroundColor: theme.palette.secondary.main,
},
},
/* {
props: (props) => props.variant === "contained",
style: {
backgroundColor: `${theme.palette.accent.main} !important`,
},
}, */
{
props: (props) =>
props.variant === "contained" && props.color === "secondary",