-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathtailwind.config.js
48 lines (48 loc) · 1.05 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{ts,tsx}"],
theme: {
extend: {
colors: {
primary: "var(--color-primary)",
secondary: "var(--color-secondary)",
heading: "var(--color-heading)",
text: "var(--color-text)",
background: "var(--color-background)",
},
fontFamily: {
body: "var(--font-inter), sans-serif",
heading: "var(--font-cousine), serif",
},
spacing: {
0: "0",
1: "0.4rem",
2: "0.8rem",
3: "1.2rem",
4: "1.6rem",
5: "2rem",
6: "2.4rem",
7: "2.8rem",
8: "3.2rem",
9: "3.6rem",
10: "4rem",
11: "4.4rem",
12: "4.8rem",
13: "5.2rem",
14: "5.6rem",
15: "6rem",
16: "6.4rem",
},
fontSize: {
xs: "1.05rem",
sm: "1.4rem",
md: "1.575rem",
lg: "1.7rem",
xl: "2.1rem",
"2xl": "4.2rem",
"3xl": "6.3rem",
},
},
},
plugins: [],
};