add Material UI theme support (#4437)

* add Material UI theme support

* add primary color palette

Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
Jeremy Letto 2021-10-20 19:03:05 -05:00 committed by GitHub
parent 586f23cfa9
commit ebebb9c4bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 96 additions and 2 deletions

View file

@ -1,7 +1,16 @@
import { ThemeProvider } from '@material-ui/styles';
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import { materialTheme } from './material-theme';
import { AppShell } from "containers";
ReactDOM.render(<AppShell />, document.getElementById("root"));
const appWithMaterialTheme = () => (
<ThemeProvider theme={materialTheme}>
<AppShell />
</ThemeProvider>
);
ReactDOM.render(appWithMaterialTheme(), document.getElementById("root"));