-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy paththeme.js
More file actions
152 lines (149 loc) · 3.15 KB
/
Copy paththeme.js
File metadata and controls
152 lines (149 loc) · 3.15 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
"use client";
import { createTheme } from "@mui/material/styles";
// Create a theme instance
const theme = createTheme({
palette: {
primary: {
main: "#1a4b8c",
light: "#3b6db4",
dark: "#0d2e59",
contrastText: "#fff",
},
secondary: {
main: "#2c3e50",
light: "#4c5e70",
dark: "#1c2e40",
contrastText: "#fff",
},
error: {
main: "#e74c3c",
},
warning: {
main: "#f39c12",
},
info: {
main: "#3498db",
},
success: {
main: "#2ecc71",
},
background: {
default: "#ffffff",
paper: "#ffffff",
},
text: {
primary: "#303030",
secondary: "#707070",
},
divider: "rgba(0, 0, 0, 0.08)",
},
typography: {
fontFamily: "'Inter', 'Roboto', 'Helvetica', 'Arial', sans-serif",
h1: {
fontWeight: 700,
},
h2: {
fontWeight: 700,
},
h3: {
fontWeight: 600,
},
h4: {
fontWeight: 600,
},
h5: {
fontWeight: 600,
},
h6: {
fontWeight: 600,
},
subtitle1: {
fontWeight: 500,
},
subtitle2: {
fontWeight: 500,
},
button: {
fontWeight: 500,
textTransform: "none",
},
},
shape: {
borderRadius: 8,
},
shadows: [
"none",
"0px 2px 4px rgba(0, 0, 0, 0.05)",
"0px 4px 8px rgba(0, 0, 0, 0.05)",
"0px 6px 12px rgba(0, 0, 0, 0.05)",
"0px 8px 16px rgba(0, 0, 0, 0.05)",
"0px 10px 20px rgba(0, 0, 0, 0.05)",
"0px 12px 24px rgba(0, 0, 0, 0.05)",
"0px 14px 28px rgba(0, 0, 0, 0.05)",
"0px 16px 32px rgba(0, 0, 0, 0.05)",
"0px 18px 36px rgba(0, 0, 0, 0.05)",
"0px 20px 40px rgba(0, 0, 0, 0.05)",
"0px 22px 44px rgba(0, 0, 0, 0.05)",
"0px 24px 48px rgba(0, 0, 0, 0.05)",
"0px 26px 52px rgba(0, 0, 0, 0.05)",
"0px 28px 56px rgba(0, 0, 0, 0.05)",
"0px 30px 60px rgba(0, 0, 0, 0.05)",
"0px 32px 64px rgba(0, 0, 0, 0.05)",
"0px 34px 68px rgba(0, 0, 0, 0.05)",
"0px 36px 72px rgba(0, 0, 0, 0.05)",
"0px 38px 76px rgba(0, 0, 0, 0.05)",
"0px 40px 80px rgba(0, 0, 0, 0.05)",
"0px 42px 84px rgba(0, 0, 0, 0.05)",
"0px 44px 88px rgba(0, 0, 0, 0.05)",
"0px 46px 92px rgba(0, 0, 0, 0.05)",
"0px 48px 96px rgba(0, 0, 0, 0.05)",
],
components: {
MuiButton: {
styleOverrides: {
root: {
borderRadius: 8,
boxShadow: "none",
"&:hover": {
boxShadow: "0px 4px 8px rgba(0, 0, 0, 0.05)",
},
},
contained: {
"&:hover": {
boxShadow: "0px 6px 12px rgba(0, 0, 0, 0.1)",
},
},
},
},
MuiCard: {
styleOverrides: {
root: {
boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.05)",
borderRadius: 12,
},
},
},
MuiAppBar: {
styleOverrides: {
root: {
boxShadow: "0px 2px 8px rgba(0, 0, 0, 0.05)",
},
},
},
MuiChip: {
styleOverrides: {
root: {
fontWeight: 500,
},
},
},
MuiPaper: {
styleOverrides: {
rounded: {
borderRadius: 12,
},
},
},
},
});
export default theme;