-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
74 lines (73 loc) · 1.56 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
module.exports = {
content: [
'./app.html',
'./components/**/*.{js,ts,vue}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./nuxt.config.{js,ts}',
],
theme: {
container: {
center: true,
padding: '1rem',
},
extend: {
spacing: {
128: '32rem',
144: '36rem',
},
typography: {
DEFAULT: {
css: {
maxWidth: '1400px',
color: '#2b2b2b',
strong: {
fontWeight: '800',
},
p: {
marginTop: 0,
marginBottom: '1.25rem',
textAlign: 'justify',
hyphens: 'auto',
},
h1: {
fontSize: '24px',
fontWeight: '600',
},
h2: {
fontSize: '22px',
margin: '1rem 0',
},
h3: {
fontSize: '20px',
margin: '0.5rem 0',
},
h4: {
fontSize: '18px',
},
a: {
},
figure: {
margin: '1rem 0',
},
img: {
margin: '1.25rem auto',
},
figcaption: {
textAlign: 'center',
fontSize: '0.875rem',
color: '#1c1c1c',
},
// ...
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/aspect-ratio'),
],
}