-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
50 lines (48 loc) · 1.22 KB
/
Copy pathtailwind.config.ts
File metadata and controls
50 lines (48 loc) · 1.22 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
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
const config: Config = {
darkMode: ["class"],
content: [
"./app/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./lib/**/*.{ts,tsx}",
],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1200px",
},
},
extend: {
colors: {
background: "#0a0a0aff",
foreground: "#f5f5f0",
accent: "#343f50ff",
muted: "#1a1a16",
border: "#1f1f1a",
input: "#1f1f1a",
ring: "#343f50ff",
},
fontFamily: {
sans: ["var(--font-inter)", ...defaultTheme.fontFamily.sans],
mono: ["var(--font-space-mono)", ...defaultTheme.fontFamily.mono],
},
boxShadow: {
glow: "0 0 0 1px rgba(139, 115, 85, 0.2), 0 15px 50px rgba(0,0,0,0.5)",
},
animation: {
"fade-in": "fade-in 400ms ease-out",
},
keyframes: {
"fade-in": {
"0%": { opacity: "0", transform: "translateY(4px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
},
},
},
plugins: [require("tailwindcss-animate")],
};
export default config;