-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
43 lines (43 loc) · 1.35 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
module.exports = {
content: [
'./_drafts/**/*.markdown',
'./_includes/**/*.html',
'./_layouts/**/*.html',
'./_posts/*.markdown',
'./*.md',
'./*.html',
],
theme: {
extend: {
typography: ({ theme }) => ({
DEFAULT: {
css: {
table: {
width: '100%',
borderCollapse: 'collapse',
},
'thead th': {
backgroundColor: theme('colors.gray.100'),
border: `1px solid ${theme('colors.gray.200')}`,
padding: theme('spacing.2'),
textAlign: 'left',
},
'tbody td': {
border: `1px solid ${theme('colors.gray.200')}`,
padding: theme('spacing.2'),
'&:first-child': {
paddingInlineStart: theme('spacing.4'),
},
},
'tbody tr:nth-child(even)': {
backgroundColor: theme('colors.gray.100'),
},
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
}