lib: add and config mui

This commit is contained in:
rusconn
2022-04-01 09:14:07 +09:00
parent d1e5c9e7f6
commit 127c359b5f
7 changed files with 602 additions and 15 deletions

3
src/data/emotion.ts Normal file
View File

@@ -0,0 +1,3 @@
import createCache from "@emotion/cache";
export const cache = createCache({ key: "css", prepend: true });

2
src/data/index.ts Normal file
View File

@@ -0,0 +1,2 @@
export * as emotion from "./emotion";
export * as mui from "./mui";

3
src/data/mui.ts Normal file
View File

@@ -0,0 +1,3 @@
import { createTheme } from "@mui/material";
export const theme = createTheme();