forked from forbole/big-dipper-2.0-cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlight.ts
104 lines (103 loc) · 2.24 KB
/
light.ts
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
const backgroundDefault = '#F8F8F8';
const surfaceOne = '#FFFFFF';
const surfaceTwo = '#F8F8F8';
const fontOne = '#000000';
const fontTwo = '#414141';
const fontThree = '#777777';
/** Custom theme overrides for light mode */
export const lightThemeOverride = {
mixins: {
tableCell: {
background: surfaceOne, // surface one
'&.odd': {
background: surfaceTwo, // surface two
},
},
},
palette: {
type: 'light',
primary: {
main: '#375EDE',
contrastText: '#fff',
},
background: {
default: backgroundDefault,
paper: surfaceOne,
},
divider: '#E8E8E8',
text: {
primary: '#000000',
secondary: '#414141',
},
custom: {
general: {
background: backgroundDefault, // same as background default
surfaceOne, // same as background paper
surfaceTwo, // striped tables
},
fonts: {
fontOne,
fontTwo,
fontThree,
fontFour: '#999999',
highlight: '#0075FF',
},
primaryData: {
one: '#375EDE',
two: '#4986E7',
three: '#169DBA',
four: '#2FB6E0',
},
tokenomics: {
one: '#4986E7',
two: '#37B0D7',
three: '#FFBE5C',
},
condition: {
zero: '#E8E8E8',
one: '#1EC490',
two: '#FF9338',
three: '#FF608A',
},
results: {
pass: '#1EC490',
fail: '#FD3B4C',
},
charts: {
zero: '#E8E8E8',
one: '#20D494',
two: '#4986E7',
three: '#37B0D7',
four: '#A576F0',
five: '#FFBE5C',
},
},
},
overrides: {
MuiTableBody: {
root: {
'& .MuiTableRow-root': {
'&:nth-child(odd)': {
backgroundColor: surfaceTwo, // surface two
},
},
'& .MuiTableCell-root': {
color: fontTwo, // font two
},
},
},
MuiTabs: {
root: {
'& .MuiTab-textColorInherit': {
color: fontThree, // font three
},
'& .MuiTab-textColorInherit.Mui-selected': {
color: fontOne, // font one
},
'& .MuiTabs-indicator': {
backgroundColor: fontOne, // font one (?)
},
},
},
},
};