-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
57 lines (57 loc) · 1.57 KB
/
tailwind.config.js
File metadata and controls
57 lines (57 loc) · 1.57 KB
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
module.exports = {
important: true, // Thêm !important vào tất cả các class của Tailwind
darkMode: "class",
theme: {
extend: {
colors: {
primary: {
DEFAULT: "var(--color-primary)",
light: "var(--color-primary-light)",
dark: "var(--color-primary-dark)",
},
secondary: {
DEFAULT: "var(--color-secondary)",
light: "var(--color-secondary-light)",
dark: "var(--color-secondary-dark)",
},
accent: {
DEFAULT: "var(--color-accent)",
light: "var(--color-accent-light)",
dark: "var(--color-accent-dark)",
},
success: "var(--color-success)",
warning: "var(--color-warning)",
error: "var(--color-error)",
info: "var(--color-info)",
},
backgroundColor: {
default: "var(--bg-default)",
paper: "var(--bg-paper)",
footer: "var(--bg-footer)",
},
textColor: {
primary: "var(--text-primary)",
secondary: "var(--text-secondary)",
disabled: "var(--text-disabled)",
},
borderRadius: {
sm: "var(--radius-sm)",
md: "var(--radius-md)",
lg: "var(--radius-lg)",
xl: "var(--radius-xl)",
},
boxShadow: {
sm: "var(--shadow-sm)",
md: "var(--shadow-md)",
lg: "var(--shadow-lg)",
xl: "var(--shadow-xl)",
},
transitionDuration: {
fast: "150ms",
normal: "300ms",
slow: "500ms",
},
},
},
plugins: [require("@tailwindcss/line-clamp")],
};