-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
42 lines (41 loc) · 1.13 KB
/
Copy pathtailwind.config.ts
File metadata and controls
42 lines (41 loc) · 1.13 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-syne)", "sans-serif"],
mono: ["var(--font-jetbrains)", "monospace"],
},
colors: {
bg: "var(--bg)",
surface: "var(--surface)",
border: "var(--border)",
accent: "var(--accent)",
accent2: "var(--accent2)",
muted: "var(--muted)",
"text-dim": "var(--text-dim)",
},
animation: {
"fade-up": "fadeUp 0.7s ease both",
"pulse-glow": "pulseGlow 4s ease-in-out infinite",
},
keyframes: {
fadeUp: {
from: { opacity: "0", transform: "translateY(20px)" },
to: { opacity: "1", transform: "translateY(0)" },
},
pulseGlow: {
"0%, 100%": { opacity: "0.5", transform: "scale(1)" },
"50%": { opacity: "1", transform: "scale(1.1)" },
},
},
},
},
plugins: [],
};
export default config;