-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.cjs
124 lines (124 loc) · 3.17 KB
/
tailwind.config.cjs
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/** @type {import('tailwindcss').Config} */
const { Icons } = require("tailwindcss-plugin-icons");
const plugin = require('tailwindcss/plugin')
module.exports = {
content: ["./templates/**/*.html", "./src/main.ts"],
darkMode: "class",
theme: {
extend: {
lineClamp: {
7: "7",
8: "8",
},
typography: {
DEFAULT: {
css: {
h1 : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
h2 : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
h3 : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
h4 : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
ul : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
li : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
dl : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
p : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
img : {
marginTop: '0.5em !important',
marginBottom: '0.5em !important',
},
dd : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
ol : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
pre : {
marginTop: '0.25em !important',
marginBottom: '0.25em !important',
},
hr : {
marginTop: '1.25em !important',
marginBottom: '1.25em !important',
},
},
},
},
},
container: {
padding: {
DEFAULT: "1rem",
sm: "2rem",
lg: "4rem",
xl: "5rem",
"2xl": "6rem",
},
},
},
plugins: [
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/typography"),
require("@tailwindcss/line-clamp"),
Icons(() => ({
gg: {
includeAll: true,
},
tabler: {
includeAll: true,
},
simpleIcons: {
includeAll: true,
},
bx: {
includeAll: true,
},
})),
],
safelist: [
"i-gg-sun",
"i-gg-moon",
"i-tabler-mail",
"i-simple-icons-wechat",
"i-simple-icons-tencentqq",
"i-simple-icons-sinaweibo",
"i-simple-icons-zhihu",
"i-simple-icons-douban",
"i-simple-icons-bilibili",
"i-simple-icons-tiktok",
"i-simple-icons-telegram",
"i-simple-icons-facebook",
"i-simple-icons-instagram",
"i-simple-icons-linkedin",
"i-simple-icons-twitter",
"i-simple-icons-slack",
"i-simple-icons-discord",
"i-simple-icons-youtube",
"i-simple-icons-steam",
"i-simple-icons-github",
"i-simple-icons-gitlab",
],
};