-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
43 lines (43 loc) · 1003 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 = {
mode: 'jit',
darkMode: 'class',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
'a:hover': {
color: theme('colors.pink.100')
}
},
dark: {
css: {
color: theme('colors.gray.400'),
h2: {
color: theme('colors.gray.100')
},
h3: {
color: theme('colors.gray.200')
},
h4: {
color: theme('colors.gray.200')
},
p: {
color: theme('colors.gray.400')
},
a: {
color: theme('colors.purple.400'),
},
'a:hover': {
color: theme('colors.pink.400')
},
},
},
}),
},
},
variants: {
typography: ['dark'],
},
plugins: [require('@tailwindcss/typography')],
}