-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
39 lines (39 loc) · 948 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
39 lines (39 loc) · 948 Bytes
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
module.exports = {
darkMode: 'selector',
content: ['./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')
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
}