-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
86 lines (84 loc) · 1.76 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
module.exports = {
purge: {
enabled: true,
options: {
safelist: {
greedy: [/primary*/, /secondary*/, /background*/, /success*/, /warning*/,
/danger*/, /inactive*/]
},
},
content: ['./src/**/*.{vue,js,ts,jsx,tsx}'],
},
theme: {
screens: {
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
fontFamily: {
sans: ["'Source Sans Pro'"],
},
extend: {
colors: {
primary: {
DEFAULT: '#D6AD5B',
light: '#A37A29',
dark: '#CC9933',
grayscale: '#CC9933',
translucent: '#D6AD5B80',
},
secondary: {
DEFAULT: '#5C6AD7',
light: '#2836A4',
dark: '#3244CD',
grayscale: '#C2C7F0',
translucent: '#5C6AD780',
},
background: {
DEFAULT: '#202427',
light: '#2E3235',
ultralight: '#424649',
},
success: {
DEFAULT: '#5CD761',
translucent: '#5CD76180',
},
warning: {
DEFAULT: '#E18745',
light: '#DC7123',
dark: '#B05A1C',
grayscale: '#F4D4BD',
translucent: '#E1874580',
},
danger: {
DEFAULT: '#C24444',
dark: '#A92020',
translucent: '#C2444480',
},
inactive: {
DEFAULT: '#BFBFBF',
},
},
},
},
variants: {
backgroundColor: [
'responsive',
'group-hover',
'first',
'last',
'odd',
'even',
'hover',
'focus',
'active',
'visited',
'disabled',
],
borderRadius: ['first', 'last'],
borderStyle: ['first', 'last'],
borderWidth: ['first', 'last'],
},
plugins: [],
}