-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
133 lines (126 loc) · 4.25 KB
/
Copy pathtailwind.config.js
File metadata and controls
133 lines (126 loc) · 4.25 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
extend: {
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
colors: {
primary: {
DEFAULT: "hsl(var(--color-primary))",
hover: "hsl(var(--color-primary-hover))",
active: "hsl(var(--color-primary-active))",
focus: "var(--color-primary-focus)",
foreground: "hsl(var(--text-primary))",
},
secondary: {
DEFAULT: "hsl(var(--color-secondary))",
hover: "hsl(var(--color-secondary-hover))",
active: "hsl(var(--color-secondary-active))",
focus: "var(--color-secondary-focus)",
foreground: "hsl(var(--text-primary))",
},
neutral: {
50: "hsl(var(--color-neutral-50))",
100: "hsl(var(--color-neutral-100))",
200: "hsl(var(--color-neutral-200))",
300: "hsl(var(--color-neutral-300))",
400: "hsl(var(--color-neutral-400))",
500: "hsl(var(--color-neutral-500))",
600: "hsl(var(--color-neutral-600))",
700: "hsl(var(--color-neutral-700))",
800: "hsl(var(--color-neutral-800))",
900: "hsl(var(--color-neutral-900))",
950: "hsl(var(--color-neutral-950))",
},
success: {
DEFAULT: "hsl(var(--color-success))",
light: "hsl(var(--color-success-light))",
dark: "hsl(var(--color-success-dark))",
hover: "hsl(var(--color-success-hover))",
active: "hsl(var(--color-success-active))",
},
warning: {
DEFAULT: "hsl(var(--color-warning))",
light: "hsl(var(--color-warning-light))",
dark: "hsl(var(--color-warning-dark))",
},
error: {
DEFAULT: "hsl(var(--color-error))",
light: "hsl(var(--color-error-light))",
dark: "hsl(var(--color-error-dark))",
hover: "hsl(var(--color-error-hover))",
active: "hsl(var(--color-error-active))",
},
info: {
DEFAULT: "hsl(var(--color-info))",
light: "hsl(var(--color-info-light))",
dark: "hsl(var(--color-info-dark))",
},
surface: {
background: "hsl(var(--surface-background))",
DEFAULT: "hsl(var(--surface-surface))",
elevated: "hsl(var(--surface-elevated))",
overlay: "hsl(var(--surface-overlay))",
},
text: {
primary: "hsl(var(--text-primary))",
secondary: "hsl(var(--text-secondary))",
tertiary: "hsl(var(--text-tertiary))",
disabled: "hsl(var(--text-disabled))",
},
border: {
DEFAULT: "hsl(var(--border-default))",
focus: "hsl(var(--border-focus))",
error: "hsl(var(--border-error))",
},
state: {
hover: "hsl(var(--state-hover))",
active: "hsl(var(--state-active))",
focus: "hsl(var(--state-focus))",
disabled: {
bg: "hsl(var(--state-disabled-bg))",
text: "hsl(var(--state-disabled-text))",
},
},
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
},
transitionDuration: {
fast: "150ms",
normal: "200ms",
slow: "300ms",
},
transitionTimingFunction: {
smooth: "cubic-bezier(0.4, 0, 0.2, 1)",
},
},
},
plugins: [require("tailwindcss-animate")],
}