mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): force dark mode
This commit is contained in:
parent
4536e4a8b6
commit
db57d426d9
@ -2,7 +2,7 @@ import '@fontsource-variable/inter';
|
|||||||
import 'overlayscrollbars/overlayscrollbars.css';
|
import 'overlayscrollbars/overlayscrollbars.css';
|
||||||
import 'common/components/OverlayScrollbars/overlayscrollbars.css';
|
import 'common/components/OverlayScrollbars/overlayscrollbars.css';
|
||||||
|
|
||||||
import { ChakraProvider, extendTheme } from '@chakra-ui/react';
|
import { ChakraProvider, DarkMode, extendTheme } from '@chakra-ui/react';
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
import { memo, useEffect, useMemo } from 'react';
|
import { memo, useEffect, useMemo } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
@ -30,7 +30,7 @@ function ThemeLocaleProvider({ children }: ThemeLocaleProviderProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ChakraProvider theme={theme} toastOptions={TOAST_OPTIONS}>
|
<ChakraProvider theme={theme} toastOptions={TOAST_OPTIONS}>
|
||||||
{children}
|
<DarkMode>{children}</DarkMode>
|
||||||
</ChakraProvider>
|
</ChakraProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user