-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
54 lines (53 loc) · 1.2 KB
/
Copy pathtailwind.config.js
File metadata and controls
54 lines (53 loc) · 1.2 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
const { fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
mode: "jit",
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
sans: ["Inter var", ...fontFamily.sans],
},
borderRadius: {
DEFAULT: "8px",
secondary: "4px",
container: "12px",
},
boxShadow: {
DEFAULT: "0 1px 4px rgba(0, 0, 0, 0.1)",
hover: "0 2px 8px rgba(0, 0, 0, 0.12)",
},
colors: {
primary: {
DEFAULT: "#4F46E5",
hover: "#4338CA",
},
secondary: {
DEFAULT: "#6B7280",
hover: "#4B5563",
},
accent: {
DEFAULT: "var(--color-accent)",
hover: "var(--color-accent)",
},
},
spacing: {
"form-field": "16px",
section: "32px",
},
animation: {
fadeIn: "fadeIn 0.2s ease-out",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0", transform: "scale(0.95)" },
"100%": { opacity: "1", transform: "scale(1)" },
},
},
},
},
variants: {
extend: {
boxShadow: ["hover", "active"],
},
},
};