fix(ui): set colorMode to fix native selects

This commit is contained in:
psychedelicious 2023-03-12 14:04:27 +11:00
parent de94c780d9
commit f9a7a7d161

View File

@ -42,6 +42,7 @@ function ThemeLocaleProvider({ children }: ThemeLocaleProviderProps) {
const theme = extendTheme({
...invokeAITheme,
colors: THEMES[currentTheme as keyof typeof THEMES],
initialColorMode: ['light'].includes(currentTheme) ? 'light' : 'dark',
direction,
});