initial mui theme customization (#221)

This commit is contained in:
Michael Quigley 2024-10-21 12:16:06 -04:00
parent 0c52aad441
commit aa5810a98f
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -2,9 +2,28 @@ import "./index.css";
import {StrictMode} from "react";
import {createRoot} from "react-dom/client";
import AgentUi from "./AgentUi.jsx";
import {createTheme, ThemeProvider} from "@mui/material";
export const themeOptions = {
palette: {
mode: 'light',
primary: {
main: '#241775',
},
secondary: {
main: '#9bf316',
},
},
typography: {
fontFamily: 'Poppins',
},
};
createRoot(document.getElementById('root')).render(
<StrictMode>
<AgentUi />
<ThemeProvider theme={createTheme(themeOptions)}>
<AgentUi />
</ThemeProvider>
</StrictMode>,
)