-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
203 lines (200 loc) · 5.03 KB
/
tailwind.config.js
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
const defaultTheme = require('tailwindcss/defaultTheme');
const {
generateButtonClassSafelist,
} = require('./src/components/_global/BalBtn/button-options.js');
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
safelist: [
'from-refi-text',
'to-light-blue',
...generateButtonClassSafelist(),
// https://tailwindcss.com/docs/content-configuration#safelisting-classes
// https://github.com/tailwindlabs/tailwindcss/discussions/10079
{ pattern: /^mr/ },
{ pattern: /^w/ },
],
darkMode: 'class',
theme: {
fontFamily: {
body: [
'Inter-Variable',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Helvetica',
'Arial',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
],
display: [
'"Tiempos Headline Medium"',
'Times',
'"Times New Roman"',
'serif',
],
},
boxShadow: {
sm: '0 2px 4px 0 rgba(0,0,0,0.05)',
DEFAULT:
'0px 4px 6px -1px rgba(0, 0, 0, 0.05), 0px 2px 4px -1px rgba(0, 0, 0, 0.05)',
lg: '0 2px 4px 0 rgba(0,0,0,0.03), 0 10px 40px 0 rgba(0,0,0,0.05)',
xl: '0 2px 4px 0 rgba(0,0,0,0.05), 0 0px 40px 0 rgba(0,0,0,0.1)',
'2xl': '0px 25px 50px -12px rgba(0, 0, 0, 0.1)',
'3xl':
'0px 10px 10px -5px rgba(0, 0, 0, 0.02), 0px 20px 25px -5px rgba(0, 0, 0, 0.03)',
'4xl': '25px 25px 50px -12px rgba(0, 0, 0, 0.03)',
inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.05)',
none: 'none',
},
borderColor: theme => ({
...theme('colors'),
DEFAULT: theme('colors.gray.100', 'currentColor'),
}),
screens: {
xs: '440px',
...defaultTheme.screens,
},
extend: {
letterSpacing: {
wide: '0.02em',
},
flex: {
0: '0 0 auto',
},
height: {
112: '28rem',
},
borderRadius: {
'2xl': '1.25rem',
},
colors: {
gray: {
50: '#F8FAFC',
100: '#EAF0F6',
200: '#E2E8F0',
300: '#CBD5E1',
400: '#94A3B8',
500: '#64748B',
600: '#475569',
700: '#334155',
800: '#1E293B',
850: '#162031',
900: '#222732',
},
'primary-refi': '#001C52',
'accent-refi': '#FA7369',
'refi-text': '#0468be',
'refi-text-dark': '#1490FA',
'light-blue': '#05DBF3',
'pool-fees': '#AADA22',
'pool-tvl': '#0468BE',
'pool-volume': '#FF877E',
disabled: '#9F9F9F',
complementary: '#7B7B7B',
'complementary-b': '#B6C7D6',
'pill-light': '#E7F4FF',
'refi-gray': '#232833',
container: '#F3FAFF',
primary: {
50: '#53555e',
100: '#494b54',
200: '#3f414a',
300: '#353740',
400: '#2b2d36',
500: '#21232c',
600: '#171922',
700: '#0d0f18',
800: '#03050e',
900: '#000004',
},
'primary-dark': {
50: '#6a7cff',
100: '#6072ff',
200: '#5668ff',
300: '#4c5eff',
400: '#4254ff',
500: '#384aff',
600: '#2e40f5',
700: '#2436eb',
800: '#1a2ce1',
900: '#1022d7',
},
blue: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
},
sky: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
950: '#082f49',
},
pink: {
50: '#fdf2f8',
100: '#fce7f3',
200: '#fbcfe8',
300: '#f9a8d4',
400: '#fc25ff',
500: '#f21bf6',
600: '#e811ec',
700: '#de07e2',
800: '#d400d8',
900: '#ca00ce',
},
purple: {
50: '#faf5ff',
100: '#faf5ff',
200: '#e9d5ff',
300: '#d8b4fe',
400: '#c084fc',
500: '#a855f7',
600: '#9333ea',
700: '#7e22ce',
800: '#6b21a8',
900: '#581c87',
},
yellow: {
50: '#FFFBEA',
100: '#FFF6D5',
200: '#FFEEAD',
300: '#FEE684',
400: '#FEDD5C',
500: '#FED533',
600: '#F8C601',
700: '#C09901',
800: '#886D01',
900: '#504000',
},
orange: {
50: '#fffbeb',
100: '#fef3c7',
200: '#fde68a',
300: '#fcd34d',
400: '#fbbf24',
500: '#f59e0b',
600: '#d97706',
700: '#b45309',
800: '#92400e',
900: '#78350f',
},
},
},
},
plugins: [],
};