-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.tsx
75 lines (71 loc) · 1.44 KB
/
theme.tsx
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import { createMuiTheme } from "@material-ui/core/styles";
const theme = createMuiTheme({
typography: {
fontFamily: ["Lato", "sans-serif"].join(","),
h1: {
fontFamily: ["EB Garamond", "Garamond", "serif"].join(","),
fontSize: "1.875em",
fontWeight: "bold",
},
h2: {
fontFamily: ["Lato", "sans-serif"].join(","),
fontSize: "1.25em",
fontWeight: "bold",
textTransform: "uppercase",
},
h3: {
fontFamily: ["EB Garamond", "Garamond", "serif"].join(","),
fontSize: "2.5em",
fontWeight: "bold",
},
h4: {
fontFamily: ["EB Garamond", "Garamond", "serif"].join(","),
},
h5: {
fontFamily: ["EB Garamond", "Garamond", "serif"].join(","),
},
h6: {
fontFamily: ["EB Garamond", "Garamond", "serif"].join(","),
},
button: {
fontSize: "0.875em",
textTransform: "uppercase",
},
},
palette: {
primary: {
light: "#4fb57a",
main: "#10844e",
dark: "#005625",
},
secondary: {
main: "#e2f4ec",
},
text: {
primary: "#004B28",
},
},
overrides: {
MuiTypography: {
h1: {
color: "#004B28",
},
h2: {
color: "#004B28",
},
h3: {
color: "#004B28",
},
h4: {
color: "#004B28",
},
h5: {
color: "#004B28",
},
h6: {
color: "#004B28",
},
},
},
});
export default theme;