chore: Move Mantine Theme Override to own file

This commit is contained in:
blessedcoolant
2023-06-12 19:48:26 +12:00
committed by psychedelicious
parent 9a914250a0
commit 5b20766ea3
2 changed files with 23 additions and 5 deletions

View File

@ -16,6 +16,7 @@ import { oceanBlueColors } from 'theme/colors/oceanBlue';
import '@fontsource/inter/variable.css';
import { MantineProvider } from '@mantine/core';
import { mantineTheme } from 'mantine-theme/theme';
import 'overlayscrollbars/overlayscrollbars.css';
import 'theme/css/overlayscrollbars.css';
@ -52,11 +53,7 @@ function ThemeLocaleProvider({ children }: ThemeLocaleProviderProps) {
}, [direction]);
return (
<MantineProvider
withGlobalStyles
withNormalizeCSS
theme={{ colorScheme: 'dark' }}
>
<MantineProvider withGlobalStyles withNormalizeCSS theme={mantineTheme}>
<ChakraProvider theme={theme} colorModeManager={manager}>
{children}
</ChakraProvider>