-
Notifications
You must be signed in to change notification settings - Fork 24
/
tailwind.config.js
46 lines (46 loc) · 1.26 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
module.exports = {
content: ['./*.go', './*.templ'],
darkMode: ['class', '.theme--dark'],
theme: {
extend: {
fontFamily: {
sans: ['Helvetica', 'ui-sans-serif', 'system-ui']
},
fontSize: {
xs: '0.7rem',
sm: '0.8rem',
'2xl': ['1.5rem']
},
colors: {
lavender: '#fdf0f5',
strongpink: '#e32a6d',
crimson: '#bc1150',
garnet: '#42091e'
},
borderWidth: {
'05rem': '0.5rem' // you can define custom border widths in rem units
},
gap: {
'48vw': '4.8vw'
},
typography: ({theme}) => ({
/* for markdown html content */
DEFAULT: {
css: {
'--tw-prose-invert-body': theme('colors.neutral[100]'),
'--tw-prose-invert-quotes': theme('colors.neutral[100]'),
'--tw-prose-headings': theme('colors.strongpink'),
'--tw-prose-invert-headings': theme('colors.strongpink'),
'--tw-prose-links': theme('colors.gray[700]'),
'--tw-prose-invert-links': theme('colors.neutral[50]'),
maxWidth: '100%',
a: {
'font-weight': 300,
},
}
}
})
}
},
plugins: [require('@tailwindcss/typography')]
}