-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtailwind.config.js
55 lines (55 loc) · 1.5 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
49
50
51
52
53
54
55
/** @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)',
},
},
}
}),
},
}
}