initial work with mui

This commit is contained in:
ari committed 2022-05-24 21:12:01 -04:00
1 parent f8233dd6ab
commit 44c4ac12dd
35 files changed
+216 -145

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import "./index.css";
import { FC } from 'react';
import { createTheme, ThemeProvider } from '@mui/material/styles';
import { VersionBox } from "components/VersionBox";
const theme = createTheme({
palette: {
mode: 'dark'
},
});
export const Page: FC = ({ children }) => {
return <ThemeProvider theme={theme}>
<main className="page" style={{
color: theme.palette.text.primary,
background: theme.palette.background.default,
}}>
<VersionBox />
{children}
</main>
</ThemeProvider>
}