mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): set colorMode to fix native selects
This commit is contained in:
@ -42,6 +42,7 @@ function ThemeLocaleProvider({ children }: ThemeLocaleProviderProps) {
|
|||||||
const theme = extendTheme({
|
const theme = extendTheme({
|
||||||
...invokeAITheme,
|
...invokeAITheme,
|
||||||
colors: THEMES[currentTheme as keyof typeof THEMES],
|
colors: THEMES[currentTheme as keyof typeof THEMES],
|
||||||
|
initialColorMode: ['light'].includes(currentTheme) ? 'light' : 'dark',
|
||||||
direction,
|
direction,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user