-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
92 lines (90 loc) · 2.24 KB
/
tailwind.config.ts
File metadata and controls
92 lines (90 loc) · 2.24 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
import type { Config } from "tailwindcss";
const config: Config = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
extend: {
colors: {
primary: {
DEFAULT: "#182237",
light: "#6cb2eb",
dark: "#2779bd",
},
secondary: {
DEFAULT: "#ffed4a",
light: "#fff382",
dark: "#f2d024",
},
background: {
DEFAULT: "#f8fafc",
dark: "#1a202c",
},
text: {
DEFAULT: "#1a202c",
light: "#ffffff",
dark: "#1a202c",
},
accent: {
DEFAULT: "#ed64a6",
light: "#f687b3",
dark: "#d53f8c",
},
success: "#38a169",
warning: "#ecc94b",
danger: "#e53e3e",
info: "#4299e1",
},
fontFamily: {
sans: ["Inter", "sans-serif"],
serif: ["Merriweather", "serif"],
mono: ["Fira Code", "monospace"],
},
fontSize: {
xs: "0.75rem",
sm: "0.875rem",
base: "1rem",
lg: "1.125rem",
xl: "1.25rem",
"2xl": "1.5rem",
"3xl": "1.875rem",
"4xl": "2.25rem",
"5xl": "3rem",
},
spacing: {
"72": "18rem",
"84": "21rem",
"96": "24rem",
},
borderRadius: {
"4xl": "2rem",
"5xl": "2.5rem",
},
boxShadow: {
soft: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
hard: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"hero-pattern": "url('/assets/images/hero-pattern.svg')",
},
animation: {
"spin-slow": "spin 3s linear infinite",
"pulse-fast": "pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite",
},
zIndex: {
"60": "60",
"70": "70",
"80": "80",
"90": "90",
"100": "100",
},
opacity: {
"15": "0.15",
"35": "0.35",
"65": "0.65",
"85": "0.85",
},
},
},
};
export default config;