-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
125 lines (124 loc) · 2.44 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
theme: {
// compatible with @nuxtjs/color-mode
darkSelector: '.dark-mode',
extend: {
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
colors: {
primary: '#265ee0', // EDBF09, 705fd3, 265ee0, 856bd6
},
width: {
500: '500px',
990: '990px',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
},
height: {
500: '500px',
990: '990px',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
},
},
minWidth: {
0: '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
full: '100%',
'500-px': '500px',
'990-px': '990px',
},
maxWidth: {
0: '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
full: '100%',
'500-px': '500px',
'990-px': '990px',
},
minHeight: {
0: '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
full: '100%',
'500-px': '500px',
'990-px': '990px',
},
},
variants: {
backgroundColor: [
'dark',
'dark-hover',
'dark-group-hover',
'dark-even',
'dark-odd',
'responsive',
'hover',
'focus',
],
borderColor: [
'dark',
'dark-focus',
'dark-focus-within',
'responsive',
'hover',
'focus',
],
textColor: [
'dark',
'dark-hover',
'dark-active',
'responsive',
'hover',
'focus',
],
},
plugins: [require('tailwindcss-dark-mode')()],
};