-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
47 lines (45 loc) · 1.11 KB
/
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
import type { Config } from "tailwindcss";
import colors from "tailwindcss/colors";
const config = {
content: ["./src/**/*.{ts,tsx}"],
darkMode: "class",
theme: {
extend: {
colors: {
"color": {
light: colors.gray[400],
normal: colors.gray[700],
dark: colors.gray[900],
},
"color-background": {
DEFAULT: colors.gray[200],
},
"color-primary": {
DEFAULT: colors.blue[600],
hover: colors.blue[700],
},
"color-success": {
DEFAULT: colors.emerald[600],
hover: colors.emerald[700],
},
"color-error": {
DEFAULT: colors.red[600],
hover: colors.red[700],
},
"color-border": colors.gray[300],
},
zIndex: {
menu: "100",
overlay: "200",
modal: "300",
toast: "400",
tooltip: "500",
},
// boxShadow: {
// top: "0 -1px 10px -1px var(--color-shadow)",
// bottom: "0 1px 10px -1px var(--color-shadow)",
// },
},
},
} satisfies Config;
export default config;