-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
58 lines (55 loc) · 1.39 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
56
57
58
/** @type {import('tailwindcss').Config} */
const typography = require('@tailwindcss/typography');
let fontPrimary = '-apple-system, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif';
let fontCursive = 'Apple Chancery, Lucida Calligraphy, Noteworthy, Segoe Print, Ink Free, cursive';
module.exports = {
content: [
'./hugo_stats.json',
],
theme: {
extend: {
fontFamily: {
'primary': fontPrimary,
'cursive': fontCursive,
},
typography: (theme) => ({
DEFAULT: {
css: {
'h1': {
fontWeight: 700,
},
'h1 a, h2 a, h3 a': {
fontWeight: 'inherit',
},
'ul > li::marker, ol > li::marker': {
color: 'inherit',
},
'ul > li, ol > li': {
paddingLeft: 0,
marginTop: 0,
marginBottom: 0,
},
'> ul > li > :first-child, > ol > li > :first-child': {
marginTop: 0,
},
'> ul > li > :last-child, > ol > li > :last-child': {
marginBottom: 0,
},
},
},
}),
},
},
variants: {
extend: {
margin: ['first'],
ringWidth: ['group-focus'],
scale: ['group-hover', 'group-focus'],
opacity: ['group-focus'],
},
},
plugins: [
typography,
],
corePlugins: {}
}