-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
44 lines (44 loc) · 1.01 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
/** @type {import('tailwindcss').Config} */
export default {
important: "#body",
darkMode: "class",
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
screens: {
xs: "480px",
sm: "576px",
md: "768px",
lg: "992px",
xl: "1200px",
"2xl": "1600px",
},
// fix tailwind line-height
fontSize: {
xs: "12px",
sm: "14px",
base: "16px",
lg: "18px",
xl: "20px",
"2xl": "24px",
"3xl": "30px",
"4xl": "36px",
"5xl": "48px",
"6xl": "60px",
"7xl": "72px",
},
extend: {
colors: {
primary: "var(--color-primary)",
},
animation: {
"spin-slow": "spin 5s linear infinite",
"heart-beat": "heartBeat 0.6s ease-in-out",
},
},
},
corePlugins: {
// Remove the Tailwind CSS preflight styles so it can use custom base style (src/theme/base.css)
preflight: false, // https://tailwindcss.com/docs/preflight#disabling-preflight
},
plugins: [],
};