-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
59 lines (58 loc) · 1004 Bytes
/
tailwind.config.ts
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
import { type Config } from "tailwindcss";
import tailwindTypography from "@tailwindcss/typography";
export default {
content: [
"{routes,islands,components}/**/*.{ts,tsx,js,jsx}",
],
theme: {
container: {
center: true,
padding: {
DEFAULT: "1rem",
sm: "2rem",
lg: "4rem",
xl: "5rem",
"2xl": "6rem",
},
},
fontFamily: {
"serif": ['"Libre Baskerville"', "serif"],
"sans": ['"Lato"', "sans-serif"],
},
extend: {
typography: {
DEFAULT: {
css: {
h1: {
fontWeight: "400",
},
"h1 strong": {
fontWeight: "700",
},
h2: {
fontWeight: "400",
},
"h2 strong": {
fontWeight: "700",
},
h3: {
fontWeight: "400",
},
"h3 strong": {
fontWeight: "700",
},
h4: {
fontWeight: "400",
},
"h4 strong": {
fontWeight: "700",
},
},
},
},
},
},
plugins: [
tailwindTypography,
],
} satisfies Config;