-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
119 lines (113 loc) · 4.24 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
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
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: "media",
content: ["app/**/*.{ts,tsx}", "components/**/*.{ts,tsx}"],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
primary: {
DEFAULT: "var(--primary)",
foreground: "hsl(var(--primary-foreground))",
light: "rgba(96, 125, 139, 0.1)"
},
secondary: {
DEFAULT: "var(--secondary)",
foreground: "hsl(var(--secondary-foreground))",
light: "rgba(128, 203, 196, 0.1)"
},
accent: {
DEFAULT: "var(--accent)",
foreground: "hsl(var(--accent-foreground))",
light: "rgba(100, 216, 203, 0.1)"
},
backgroundHover: "#F0F0F0", // Slightly darker Light Gray for hover
text: "#37474F", // Dark Gray
error: "#E57373", // Soft Red
errorHover: "rgba(229, 115, 115, 0.1)", // Lightened Red for hover
success: "#81C784", // Soft Green
successHover: "rgba(129, 199, 132, 0.1)", // Lightened Green for hover
warning: "#FFB74D", // Soft Orange
warningHover: "rgba(255, 183, 77, 0.1)", // Lightened Orange for hover
info: "#64B5F6", // Soft Blue
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "var(--background)",
foreground: "hsl(var(--foreground))",
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
},
fontFamily: {
sans: ["Poppins", "sans-serif"],
serif: ["Merriweather", "serif"],
mono: ["Menlo", "monospace"],
},
spacing: {
128: "32rem",
144: "36rem",
},
borderRadius: {
"4xl": "2rem",
},
boxShadow: {
neumorphic:
"2px 2px 5px rgba(0, 0, 0, 0.2), -2px -2px 5px rgba(255, 255, 255, 0.1)",
"neumorphic-inset":
"inset 2px 2px 5px rgba(0, 0, 0, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.1)",
"custom-light":
"0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.5)",
"custom-dark":
"10px 10px 20px rgba(0, 0, 0, 0.5), 10px 10px 20px rgba(0, 0, 0, 0.5)",
},
zIndex: {
"-10": "-10",
},
transitionProperty: {
height: "height",
spacing: "margin, padding",
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme("colors.text"),
a: {
color: theme("colors.primary"),
"&:hover": {
color: theme("colors.accent"),
},
},
},
},
}),
},
},
variants: {
extend: {
backgroundColor: ["active"],
textColor: ["visited"],
display: ["group-hover"],
},
},
plugins: [require("tailwindcss-animate")],
};