chore: add theme file for joyui (#635)

This commit is contained in:
boojack
2022-11-29 20:15:16 +08:00
committed by GitHub
parent ab8e3473a1
commit 55f37664ef
7 changed files with 25 additions and 10 deletions

View File

@ -6,6 +6,7 @@ import { locationService } from "./services";
import { useAppSelector } from "./store";
import router from "./router";
import * as storage from "./helpers/storage";
import theme from "./theme";
function App() {
const { i18n } = useTranslation();
@ -41,7 +42,7 @@ function App() {
}, [locale]);
return (
<CssVarsProvider>
<CssVarsProvider theme={theme}>
<RouterProvider router={router} />
</CssVarsProvider>
);