-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.jsx
42 lines (39 loc) · 848 Bytes
/
index.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import React from "react";
import { createRoot } from "react-dom/client";
import { ThemeProvider, createTheme } from '@mui/material/styles';
import App from "./App";
import "fontsource-rubik";
import "./styles.css";
const theme = createTheme({
palette: {
primary: {
main: "#00696F",
contrastText: "#FFFFFF"
},
secondary: {
main: "#4A6365",
contrastText: "#FFFFFF"
}
},
typography: {
fontFamily: 'Rubik, Roboto, sans-serif',
},
components: {
MuiPaper: {
styleOverrides: {
root: {
backgroundColor: "#CCE8EA",
color: "#051f21",
borderRadius: 8,
},
},
},
}
});
const container = document.getElementById('root');
const root = createRoot(container);
root.render(
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
);