File size: 752 Bytes
65567a2
 
a86df80
 
 
 
 
 
 
 
 
65567a2
 
 
 
 
 
 
 
 
 
 
a86df80
65567a2
 
 
 
 
 
 
 
 
a86df80
 
 
 
 
 
 
 
65567a2
 
 
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
43
44
import { Fira_Code, Roboto } from "next/font/google";
import { experimental_extendTheme as extendTheme } from "@mui/material/styles";

export const roboto = Roboto({
	weight: ["300", "400", "500", "700"],
	subsets: ["latin"],
	display: "swap",
	fallback: ["Helvetica", "Arial", "sans-serif"],
});

// Create a theme instance.
const theme = extendTheme({
	colorSchemes: {
		light: {
			palette: {
				primary: {
					main: "#40088d",
				},
				secondary: {
					main: "#038225",
				},
			},
		},
		dark: {
			palette: {
				primary: {
					main: "#00d720",
				},
				secondary: {
					main: "#cc06ed",
				},
			},
		},
	},
	typography: {
		...roboto.style,
	},
});

export default theme;
export const fontMono = Fira_Code({
	subsets: ["latin"],
});