-
Notifications
You must be signed in to change notification settings - Fork 7
/
theme.ts
162 lines (156 loc) · 4.45 KB
/
theme.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
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
153
154
155
156
157
158
159
160
161
162
import { Theme } from 'vocs';
export const baseColors = {
white: 'white',
failure: '#ED4B9E',
failure33: '#ED4B9E33',
primary: '#1FC7D4',
primary0f: '#1FC7D40f',
primary3D: '#1FC7D43D',
primaryBright: '#53DEE9',
primaryDark: '#0098A1',
success: '#31D0AA',
success19: '#31D0AA19',
warning: '#FFB237',
warning2D: '#ED4B9E2D',
warning33: '#ED4B9E33',
};
export const additionalColors = {
binance: '#F0B90B',
overlay: '#452a7a',
gold: '#FFC700',
silver: '#B2B2B2',
bronze: '#E7974D',
yellow: '#D67E0A',
};
export const lightColors = {
...baseColors,
...additionalColors,
secondary: '#7645D9',
secondary80: '#7645D980',
background: '#FAF9FA',
backgroundDisabled: '#E9EAEB',
backgroundAlt: '#FFFFFF',
backgroundAlt2: 'rgba(255, 255, 255, 0.7)',
cardBorder: '#E7E3EB',
contrast: '#191326',
dropdown: '#F6F6F6',
dropdownDeep: '#EEEEEE',
invertedContrast: '#FFFFFF',
input: '#eeeaf4',
inputSecondary: '#d7caec',
tertiary: '#EFF4F5',
text: '#280D5F',
text99: '#280D5F99',
textDisabled: '#BDC2C4',
textSubtle: '#7A6EAA',
disabled: '#E9EAEB',
gradientPrimary:
'linear-gradient(228.54deg, #1FC7D4 -13.69%, #7645D9 91.33%)',
gradientBubblegum:
'linear-gradient(139.73deg, #E5FDFF 0%, #F3EFFF 100%)',
gradientInverseBubblegum:
'linear-gradient(139.73deg, #F3EFFF 0%, #E5FDFF 100%)',
gradientCardHeader:
'linear-gradient(111.68deg, #F2ECF2 0%, #E8F2F6 100%)',
gradientBlue: 'linear-gradient(180deg, #A7E8F1 0%, #94E1F2 100%)',
gradientViolet: 'linear-gradient(180deg, #E2C9FB 0%, #CDB8FA 100%)',
gradientVioletAlt:
'linear-gradient(180deg, #CBD7EF 0%, #9A9FD0 100%)',
gradientGold: 'linear-gradient(180deg, #FFD800 0%, #FDAB32 100%)',
gradientBold: 'linear-gradient(#53DEE9, #7645D9)',
};
export const darkColors = {
...baseColors,
...additionalColors,
secondary: '#A881FC',
secondary80: '#A881FC80',
background: '#08060B',
backgroundDisabled: '#3c3742',
backgroundAlt: '#27262c',
backgroundAlt2: 'rgba(39, 38, 44, 0.7)',
cardBorder: '#383241',
contrast: '#FFFFFF',
dropdown: '#1E1D20',
dropdownDeep: '#100C18',
invertedContrast: '#191326',
input: '#372F47',
inputSecondary: '#262130',
primaryDark: '#0098A1',
tertiary: '#353547',
text: '#F4EEFF',
text99: '#F4EEFF99',
textDisabled: '#666171',
textSubtle: '#B8ADD2',
disabled: '#524B63',
gradientPrimary:
'linear-gradient(228.54deg, #1FC7D4 -13.69%, #9A6AFF 91.33%)',
gradientBubblegum:
'linear-gradient(139.73deg, #313D5C 0%, #3D2A54 100%)',
gradientInverseBubblegum:
'linear-gradient(139.73deg, #3D2A54 0%, #313D5C 100%)',
gradientCardHeader:
'linear-gradient(166.77deg, #3B4155 0%, #3A3045 100%)',
gradientBlue: 'linear-gradient(180deg, #00707F 0%, #19778C 100%)',
gradientViolet: 'linear-gradient(180deg, #6C4999 0%, #6D4DB2 100%)',
gradientVioletAlt:
'linear-gradient(180deg, #434575 0%, #66578D 100%)',
gradientGold: 'linear-gradient(180deg, #FFD800 0%, #FDAB32 100%)',
gradientBold: 'linear-gradient(#53DEE9, #9A6AFF)',
};
const message = {
warning: '#D67E0A',
success: '#129E7D',
danger: baseColors.failure,
};
export const theme: Theme = {
accentColor: baseColors.primary,
variables: {
color: {
warningBackground: '#FFB23719',
warningText: message.warning,
warningBorder: baseColors.warning,
successBackground: 'rgba(49, 208, 170, 0.1)',
successBorder: baseColors.success,
successText: message.success,
dangerBackground: '#ED4B9E19',
dangerBorder: baseColors.failure,
dangerText: message.danger,
text: {
dark: darkColors.text,
light: lightColors.text,
},
text2: {
dark: darkColors.textSubtle,
light: lightColors.textSubtle,
},
text3: {
dark: darkColors.text99,
light: lightColors.text99,
},
text4: {
dark: darkColors.textDisabled,
light: lightColors.textDisabled,
},
background: {
dark: darkColors.backgroundAlt,
light: lightColors.backgroundAlt,
},
background2: {
dark: darkColors.dropdown,
light: lightColors.dropdown,
},
background3: {
dark: darkColors.background,
light: lightColors.background,
},
background4: {
dark: darkColors.backgroundDisabled,
light: lightColors.backgroundDisabled,
},
background5: {
dark: darkColors.cardBorder,
light: lightColors.cardBorder,
},
},
},
};