I am using the "dark mode" feature provided by the Chakra UI library. However, I can't figure out how to change the "dark mode" colors. In the documentation, I see that Chakra UI is based on something called "styled-system", so I tried to pass a new theme
to themeProvider
like this:
const theme = {
...defaultTheme,
modes: {
dark: {
background: '#000',
},
},
};
<ThemeProvider theme={theme}></ThemeProvider>
However, that didn't work. I also tried to wrap the modes
object with a colors
object, but that didn't work either. How can I customize the "dark mode" colors?