zrok/agent/agentUi/src/main.jsx

47 lines
1.1 KiB
React
Raw Normal View History

2024-10-09 18:00:04 +02:00
import "./index.css";
import {StrictMode} from "react";
import {createRoot} from "react-dom/client";
import AgentUi from "./AgentUi.jsx";
2024-10-21 18:16:06 +02:00
import {createTheme, ThemeProvider} from "@mui/material";
export const themeOptions = {
2024-10-21 19:43:59 +02:00
components: {
MuiCard: {
styleOverrides: {
root: ({theme}) => theme.unstable_sx({
mt: 5,
p: 2.5,
2024-10-21 19:55:29 +02:00
borderRadius: 2,
2024-10-21 19:43:59 +02:00
}),
}
},
2024-10-21 19:55:29 +02:00
MuiAppBar: {
styleOverrides: {
root : ({theme}) => theme.unstable_sx({
borderRadius: 2,
}),
}
}
2024-10-21 19:43:59 +02:00
},
2024-10-21 18:16:06 +02:00
palette: {
mode: 'light',
primary: {
main: '#241775',
},
secondary: {
main: '#9bf316',
},
},
typography: {
fontFamily: 'Poppins',
2024-10-21 19:43:59 +02:00
}
2024-10-21 18:16:06 +02:00
};
2024-10-04 17:20:11 +02:00
createRoot(document.getElementById('root')).render(
<StrictMode>
2024-10-21 18:16:06 +02:00
<ThemeProvider theme={createTheme(themeOptions)}>
<AgentUi />
</ThemeProvider>
2024-10-04 17:20:11 +02:00
</StrictMode>,
)