forked from balancer/frontend-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
138 lines (138 loc) · 3.1 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
options: {
safelist: [
/^shadow/,
/^bg/,
/^text/,
/^border/,
/^from/,
/^to/,
/^dark:/,
/^hover:/,
'dark',
/^dark:/,
/^mr/,
/^w/
]
}
},
darkMode: 'class', // false or 'media' or '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)',
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: {
height: {
'112': '28rem'
},
colors: {
gray: {
50: '#F8FAFC',
100: '#EAF0F6',
200: '#E2E8F0',
300: '#CBD5E1',
400: '#94A3B8',
500: '#64748B',
600: '#475569',
700: '#334155',
800: '#1E293B',
850: '#162031',
900: '#0F172A'
},
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: '#6a7cff',
100: '#6072ff',
200: '#5668ff',
300: '#4c5eff',
400: '#4254ff',
500: '#384aff',
600: '#2e40f5',
700: '#2436eb',
800: '#1a2ce1',
900: '#1022d7'
},
pink: {
50: '#ff4dff',
100: '#ff43ff',
200: '#ff39ff',
300: '#ff2fff',
400: '#fc25ff',
500: '#f21bf6',
600: '#e811ec',
700: '#de07e2',
800: '#d400d8',
900: '#ca00ce'
}
}
}
},
variants: {
extend: {
margin: ['first'],
borderRadius: ['first', 'last'],
zIndex: ['hover'],
borderWidth: ['dark', 'last']
}
},
plugins: []
};