-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
104 lines (103 loc) · 2.51 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
const plugin = require('tailwindcss/plugin')
module.exports = {
purge: false,
variants: {
zIndex: ['responsive', 'hover'],
position: ['responsive', 'hover'],
padding: ['responsive', 'last'],
margin: ['responsive', 'last'],
borderWidth: ['responsive', 'last'],
backgroundColor: ['responsive', 'hover', 'dark', 'dark-hover'],
borderColor: ['responsive', 'hover', 'dark', 'dark-hover'],
textColor: ['responsive', 'hover', 'dark', 'dark-hover']
},
theme: {
extend: {
colors: {
theme: {
1: '#1C3FAA',
2: '#F1F5F8',
3: '#2e51bb',
4: '#3151BC',
5: '#dee7ef',
6: '#D32929',
7: '#365A74',
8: '#D2DFEA',
9: '#91C714',
10: '#3160D8',
11: '#F78B00',
12: '#FBC500',
13: '#7F9EB9',
14: '#E6F3FF',
15: '#8DA9BE',
16: '#607F96',
17: '#FFEFD9',
18: '#D8F8BC',
19: '#E6F3FF',
20: '#2449AF',
21: '#284EB2',
22: '#395EC1',
23: '#D6E1FF',
24: '#2e51bb',
25: '#C6D4FD',
26: '#E8EEFF',
27: '#98AFF5',
28: '#1A389F',
29: '#142C91',
30: '#8da3e6',
31: '#ffd8d8',
32: '#3b5998',
33: '#4ab3f4',
34: '#517fa4',
35: '#0077b5',
36: '#d18d96',
37: '#c7d2ff',
38: '#15329A',
40: '#203FAD',
41: '#BBC8FD'
},
dark: {
1: '#293145',
2: '#232a3b',
3: '#313a55',
4: '#1e2533',
5: '#3f4865',
6: '#2b3348',
7: '#181f29'
}
},
fontFamily: {
'roboto': ['Roboto']
},
container: {
center: true
},
maxWidth: {
'1/4': '25%',
'1/2': '50%',
'3/4': '75%'
},
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'xxl': '1600px'
}
}
},
plugins: [
plugin(function({ addVariant, e }) {
addVariant('dark', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.dark .${e(`dark${separator}${className}`)}`
})
})
addVariant('dark-hover', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.dark .${e(`dark${separator}hover${separator}${className}`)}:hover`
})
})
})
]
}