I have this theme
palette: {
primary: {
main: '#d05ce3',
},
secondary: {
light: '#0066ff',
main: '#0044ff',
},
I can use secondary color like this find
<ThemeProvider theme={theme}>
<Checkbox
color="secondary"
But how to use the light secondary ? in ThemeProvider
Like color="secondary.light"
does not work!
color="secondary.light"
? – PhototonuswithStyles
. Alternatively, you could create another theme where you use the lighter color as secondary.main and leverage that new theme for displaying the Checkbox. – Deponesecondary.light
? I cannot access it anywhere using the color prop? – Phototonus