-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
48 lines (48 loc) · 1.16 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
module.exports = {
darkMode: 'class',
theme: {
extend: {
boxShadow: {
'lg-white':
'0 10px 15px -3px rgba(255, 255, 255, 0.1), 0 4px 6px -2px rgba(255, 255, 255, 0.05)'
},
typography: (theme) => ({
DEFAULT: {
css: {
'code::before': {
content: ''
},
'code::after': {
content: ''
},
code: {
fontWeight: '400',
backgroundColor: theme('colors.gray.100'),
padding: theme('padding.1'),
borderWidth: 1,
borderColor: theme('colors.gray.200'),
borderRadius: theme('borderRadius.DEFAULT')
}
}
},
dark: {
css: {
code: {
color: theme('colors.gray.100'),
backgroundColor: theme('colors.gray.800'),
borderWidth: 0
}
}
}
})
}
},
variants: {
extend: {
boxShadow: ['dark'],
margin: ['last'],
typography: ['dark']
}
},
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')]
};