Repository navigation
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
58 lines (56 loc) · 1.72 KB
/
Copy pathtailwind.config.ts
File metadata and controls
58 lines (56 loc) · 1.72 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
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}",
],
darkMode: "class",
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
primary: {
DEFAULT: "#3b82f6",
foreground: "#ffffff",
},
accent: {
DEFAULT: "#8b5cf6",
foreground: "#ffffff",
},
"neon-blue": "hsl(var(--neon-blue))",
"neon-purple": "hsl(var(--neon-purple))",
"neon-cyan": "hsl(var(--neon-cyan))",
"neon-pink": "hsl(var(--neon-pink))",
},
fontFamily: {
sans: ["var(--font-geist-sans)", "Inter", "system-ui", "sans-serif"],
mono: ["var(--font-geist-mono)", "monospace"],
display: ["var(--font-space-grotesk)", "sans-serif"],
},
animation: {
"float": "float 6s ease-in-out infinite",
"float-slow": "float 8s ease-in-out infinite",
"pulse-glow": "pulse-glow 4s ease-in-out infinite",
"gradient-shift": "gradient-shift 10s ease infinite",
},
keyframes: {
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-15px)" },
},
"pulse-glow": {
"0%, 100%": { opacity: "0.4", transform: "scale(1)" },
"50%": { opacity: "0.7", transform: "scale(1.05)" },
},
"gradient-shift": {
"0%, 100%": { "background-position": "0% 50%" },
"50%": { "background-position": "100% 50%" },
},
},
},
},
plugins: [],
};
export default config;