-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
43 lines (43 loc) · 982 Bytes
/
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
module.exports = {
purge: ['./src/components/**/*.tsx', './src/pages/**/*.tsx'],
theme: {
darkSelector: '.dark-mode',
container: {
center: true,
padding: '1rem',
},
fontFamily: {
header: ['Open Sans', 'sans-serif'],
body: ['Open Sans', 'sans-serif'],
},
extend: {
colors: {
primary: {
lighter: '#4FD1C5',
default: '#38B2AC',
darker: '#319795',
},
secondary: {
lighter: '#63B3ED',
default: '#4299E1',
darker: '#3182CE',
},
},
},
},
variants: {
backgroundColor: ['dark', 'responsive', 'hover', 'focus'],
borderColor: [
'dark',
'dark-focus-within',
'responsive',
'hover',
'focus',
'focus-within',
],
borderWidth: ['dark', 'responsive'],
textColor: ['dark', 'responsive', 'hover', 'focus'],
},
corePlugins: {},
plugins: [require('tailwindcss-dark-mode')()],
}