feat: set accent color buttons hover colors

This commit is contained in:
Caio Cabral committed 2025-01-12 08:33:33 -05:00
1 parent 9fb6db6921
commit 5eca39cd04
2 files changed
+11

No files matched your search

+2
View File
@@ -259,6 +259,8 @@ Look up for
"red"
"white"
{ text, bg, border }
.light
.dark
theme.palette.unresolved
+9
View File
@@ -45,6 +45,15 @@ const baseTheme = (palette) => ({
styleOverrides: {
root: ({ theme }) => ({
variants: [
{
props: (props) => props.color === "accent",
style: {
"&:hover": {
color: theme.palette.accent.main,
backgroundColor: theme.palette.accent.contrastText,
},
},
},
{
props: (props) => props.variant === "group",
style: {