-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
91 lines (91 loc) · 2.8 KB
/
tailwind.config.js
File metadata and controls
91 lines (91 loc) · 2.8 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
orbitron: ['Orbitron', 'sans-serif'],
poppins: ['Poppins', 'sans-serif'],
},
colors: {
cyan: {
DEFAULT: '#00ffff',
glow: '#00f0f0',
},
orange: {
DEFAULT: '#ff6f00',
glow: '#ff8c33',
dark: '#d97706', // Slightly darker orange for titles, icons, bullets
},
dark: '#0a0e1a',
glass: 'rgba(5, 15, 35, 0.6)',
'glass-light': 'rgba(5, 15, 35, 0.4)',
},
keyframes: {
gradientFlow: {
'0%': { 'background-position': '0%' },
'100%': { 'background-position': '200%' },
},
},
animation: {
gradientFlow: 'gradientFlow 8s ease infinite',
},
dropShadow: {
'cyan-strong': '0 0 20px #00ffff',
'cyan-glow-light': '0 0 15px #00f0f0',
'cyan-glow-medium': '0 0 30px #00f0f0',
'cyan-glow-strong': '0 0 40px #00ffff',
'orange-glow': '0 0 30px #ff8c33',
'orange-strong': '0 0 20px #d97706', // For darker orange glow
},
textShadow: {
DEFAULT: '0 0 10px rgba(0,0,0,0.7)',
'cyan-light': '0 0 10px rgba(0,255,255,0.3)',
'cyan-medium': '0 0 15px rgba(0,0,0,0.8)',
'cyan-strong': '0 0 40px rgba(0,255,255,0.6)',
'cyan-title': '0 0 30px rgba(0,255,255,0.4)',
'cyan-heading': '0 0 30px #00f0f0',
'cyan-subheading': '0 0 20px #00f0f0',
'orange-glow': '0 0 30px #d97706',
'orange-subheading': '0 0 15px #d97706', // New for subheadings
}
},
},
plugins: [
function ({ addUtilities, theme }) {
const newUtilities = {
'.text-shadow': {
textShadow: theme('textShadow.DEFAULT'),
},
'.text-shadow-cyan-light': {
textShadow: theme('textShadow.cyan-light'),
},
'.text-shadow-cyan-medium': {
textShadow: theme('textShadow.cyan-medium'),
},
'.text-shadow-cyan-strong': {
textShadow: theme('textShadow.cyan-strong'),
},
'.text-shadow-cyan-title': {
textShadow: theme('textShadow.cyan-title'),
},
'.text-shadow-cyan-heading': {
textShadow: theme('textShadow.cyan-heading'),
},
'.text-shadow-cyan-subheading': {
textShadow: theme('textShadow.cyan-subheading'),
},
'.text-shadow-orange-glow': {
textShadow: theme('textShadow.orange-glow'),
},
'.text-shadow-orange-subheading': { // New utility
textShadow: theme('textShadow.orange-subheading'),
},
};
addUtilities(newUtilities, ['responsive', 'hover']);
},
],
}