refactor: split theme file

This commit is contained in:
Sonny
2024-05-28 12:16:18 +02:00
committed by Sonny
parent 76847ff76b
commit f2478bcf56
10 changed files with 139 additions and 111 deletions

View File

@@ -1,7 +1,8 @@
import { Global, ThemeProvider, css, useTheme } from '@emotion/react';
import { ReactNode } from 'react';
import useDarkTheme from '~/hooks/use_dark_theme';
import { darkTheme, lightTheme } from '~/styles/theme';
import { darkTheme } from '~/styles/themes/dark_theme';
import { lightTheme } from '~/styles/themes/light_theme';
export default function ContextThemeProvider({
children,