-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
45 lines (44 loc) · 956 Bytes
/
tailwind.config.js
File metadata and controls
45 lines (44 loc) · 956 Bytes
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
const { fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
mode: "jit",
purge: ["./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: "#8B5CF6",
hover: "#7C3AED",
},
},
spacing: {
"form-field": "16px",
section: "32px",
},
},
},
variants: {
extend: {
boxShadow: ["hover", "active"],
},
},
};