-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
105 lines (105 loc) · 4.3 KB
/
Copy pathtailwind.config.mjs
File metadata and controls
105 lines (105 loc) · 4.3 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
93
94
95
96
97
98
99
100
101
102
103
104
105
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
'bg-deep': '#040408',
'bg-dark': '#080812',
'bg-mid': '#0c0c1a',
'bg-card': '#10101e',
'bg-card2': '#141428',
'neon-blue': '#00b4ff',
'neon-cyan': '#00ffdd',
'neon-mag': '#ff00aa',
'neon-green': '#00ff88',
'neon-orange': '#ff8c00',
'neon-red': '#ff0000',
'neon-dark-yellow': '#ffcc00',
'neon-purple': '#512BD4',
'neon-amber': '#ffaa00',
'text-bright':'#f0f0ff',
'text-mid': '#a0a0c0',
'text-dim': '#60607a',
'border-sub': 'rgba(0,180,255,0.12)',
'border-neo': 'rgba(0,180,255,0.5)',
},
fontFamily: {
'display': ['Orbitron', 'sans-serif'],
'heading': ['Exo 2', 'sans-serif'],
'mono': ['JetBrains Mono', 'monospace'],
'body': ['Rajdhani', 'sans-serif'],
},
boxShadow: {
'neon-orange': '0 0 10px rgba(255,165,0,0.5), 0 0 30px rgba(255,165,0,0.2)',
'neon-red': '0 0 10px rgba(255,0,0,0.5), 0 0 30px rgba(255,0,0,0.2)',
'neon-blue': '0 0 10px rgba(0,180,255,0.5), 0 0 30px rgba(0,180,255,0.2)',
'neon-mag': '0 0 10px rgba(255,0,170,0.5), 0 0 30px rgba(255,0,170,0.2)',
'neon-green': '0 0 10px rgba(0,255,136,0.5), 0 0 30px rgba(0,255,136,0.2)',
'neon-cyan': '0 0 10px rgba(0,255,221,0.5), 0 0 30px rgba(0,255,221,0.2)',
'card': '0 4px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04)',
'card-hover': '0 8px 60px rgba(0,180,255,0.15), 0 4px 40px rgba(0,0,0,0.8)',
},
keyframes: {
'flicker': {
'0%, 100%': { opacity: 1 },
'92%': { opacity: 1 },
'93%': { opacity: 0.6 },
'94%': { opacity: 1 },
'96%': { opacity: 0.8 },
'97%': { opacity: 1 },
},
'glow-pulse': {
'0%, 100%': { 'text-shadow': '0 0 8px rgba(0,180,255,0.8), 0 0 20px rgba(0,180,255,0.4)' },
'50%': { 'text-shadow': '0 0 15px rgba(0,180,255,1), 0 0 40px rgba(0,180,255,0.6), 0 0 80px rgba(0,180,255,0.3)' },
},
'slide-up': {
'from': { opacity: 0, transform: 'translateY(30px)' },
'to': { opacity: 1, transform: 'translateY(0)' },
},
'slide-in-left': {
'from': { opacity: 0, transform: 'translateX(-40px)' },
'to': { opacity: 1, transform: 'translateX(0)' },
},
'fade-in': {
'from': { opacity: 0 },
'to': { opacity: 1 },
},
'bar-fill': {
'from': { width: '0%' },
'to': { width: 'var(--bar-width)' },
},
'scan': {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(100vh)' },
},
'neon-border': {
'0%, 100%': { 'border-color': 'rgba(255,255,255,0.4)' },
'50%': { 'border-color': 'rgba(0,180,255,0.8)' },
},
},
animation: {
'flicker': 'flicker 8s infinite',
'glow-pulse': 'glow-pulse 3s ease-in-out infinite',
'slide-up': 'slide-up 0.7s ease forwards',
'slide-in-left':'slide-in-left 0.7s ease forwards',
'fade-in': 'fade-in 1s ease forwards',
'scan': 'scan 8s linear infinite',
'neon-border': 'neon-border 2s ease-in-out infinite',
},
backgroundImage: {
'grid-pattern': "linear-gradient(rgba(0,180,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,180,255,0.04) 1px, transparent 1px)",
'tunnel': "radial-gradient(ellipse at center, rgba(0,20,50,0.3) 0%, rgba(4,4,8,1) 70%)",
'hero-glow': "radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0,100,200,0.15) 0%, transparent 70%)",
'card-gradient': "linear-gradient(135deg, rgba(16,16,30,1) 0%, rgba(12,12,22,1) 100%)",
'neon-blue-grad': "linear-gradient(90deg, #00b4ff, #00ffdd)",
'neon-mag-grad': "linear-gradient(90deg, #ff00aa, #ff6600)",
'neon-green-grad': "linear-gradient(90deg, #00ff88, #00ffdd)",
},
backdropBlur: {
'xs': '2px',
},
},
},
plugins: [],
};