Closed Bersaelor closed 10 months ago
I also tried
declare module '@suid/material/styles' {
interface Palette {
lightBackground: string
}
interface PaletteOptions {
lightBackground: string
}
}
const theme = createTheme({
palette: {
// ...
lightBackground: '#4e6b76',
but Typescript also doesn't accept that.
I will publish the fix this week.
Hey there, our designs use 3 different background colors, and I'm trying to add the new color to the Palette.
So I tried:
The MUI documentation does this and it seems to work, how can we make it work in Suid? Has anyone managed this before?