-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtailwind.config.js
More file actions
61 lines (61 loc) · 1.72 KB
/
tailwind.config.js
File metadata and controls
61 lines (61 loc) · 1.72 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
a: {
color: 'var(--color-primary)',
textDecoration: 'none',
'&:hover': {
color: 'var(--color-primary)',
textDecoration: 'underline',
},
},
h1: {
fontFamily: 'var(--font-headline)',
fontWeight: 'var(--font-weight-medium)',
},
h2: {
fontFamily: 'var(--font-headline)',
fontWeight: 'var(--font-weight-medium)',
},
h3: {
fontFamily: 'var(--font-headline)',
fontWeight: 'var(--font-weight-normal)',
},
h4: {
fontFamily: 'var(--font-headline)',
fontWeight: 'var(--font-weight-normal)',
},
'code::before': {
content: 'unset',
},
'code::after': {
content: 'unset',
},
blockquote: {
fontStyle: 'normal',
},
'blockquote p:first-of-type::before': {
content: 'unset',
},
'blockquote p:last-of-type::after': {
content: 'unset',
},
'ul > li::before': {
backgroundColor: 'var(--color-gray-500)',
},
'ul > li:has(input[type="checkbox"])': {
listStyle: 'none',
},
'ul > li > input[type="checkbox"]:first-child': {
margin: '0 16px 0 -32px !important',
},
},
}
}),
},
}
}