-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
66 lines (66 loc) · 1.72 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{ts,tsx}",
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./styles/**/*.{css,scss}",
"./lib/**/*.{ts,tsx}",
"./utils/**/*.ts"
],
theme: {
extend: {
screens: {
xs: "480px"
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme("colors.white"),
a: {
color: theme("colors.white"),
textDecorationColor: theme("colors.yellow.300"),
textDecorationThickness: "1.5px",
textUnderlineOffset: "1px",
textDecorationLine: "underline"
},
h1: {
color: theme("colors.white"),
fontWeight: "900"
},
h2: {
color: theme("colors.yellow.300"),
fontWeight: "900"
},
h3: {
color: theme("colors.white"),
fontSize: "1.12em"
},
blockquote: {
borderLeftColor: theme("colors.yellow.300")
},
"blockquote p:first-of-type::before": false,
"blockquote p:last-of-type::after": false,
strong: {
color: theme("colors.white"),
fontWeight: "900"
},
img: {
borderRadius: "0.75rem"
},
hr: {
borderColor: theme("colors.gray.600"),
width: "128px",
margin: "0 auto"
}
}
}
})
}
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/aspect-ratio")
]
}