-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
84 lines (84 loc) · 2.66 KB
/
tailwind.config.js
File metadata and controls
84 lines (84 loc) · 2.66 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: ['class', '[data-theme="dark"]'],
theme: {
extend: {
colors: {
'rgb': 'rgb',
// Kawaii-Cyberpunk custom palette
'brand-red': '#FF4500',
'soft-dark': '#1A1A1B',
'card-bg': '#272729',
primary: {
50: 'rgb(var(--color-bg-primary) / 0.05)',
100: 'rgb(var(--color-bg-primary) / 0.1)',
500: 'rgb(var(--color-bg-primary))',
900: 'rgb(var(--color-bg-primary))',
},
secondary: {
500: 'rgb(var(--color-bg-secondary))',
},
accent: {
500: 'rgb(var(--color-accent))',
600: 'rgb(var(--color-accent-hover))',
},
success: {
500: 'rgb(var(--color-success))',
},
error: {
500: 'rgb(var(--color-error))',
},
text: {
primary: 'rgb(var(--color-text-primary))',
secondary: 'rgb(var(--color-text-secondary))',
tertiary: 'rgb(var(--color-text-tertiary))',
},
border: {
DEFAULT: 'rgb(var(--color-border))',
hover: 'rgb(var(--color-border-hover))',
},
card: {
DEFAULT: 'rgb(var(--color-bg-card))',
hover: 'rgb(var(--color-bg-card-hover))',
},
},
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
pixel: ['"Press Start 2P"', 'cursive'],
retro: ['VT323', 'monospace'],
},
animation: {
'slide-in-up': 'slideInUp 0.5s ease-out',
'slide-in-down': 'slideInDown 0.5s ease-out',
'scale-in': 'scaleIn 0.3s ease-out',
'pulse-slow': 'pulse 3s infinite',
'glow': 'glow 2s ease-in-out infinite',
'correct-pulse': 'correctPulse 0.6s ease-out',
'incorrect-shake': 'incorrectShake 0.6s ease-out',
'multiplier-pop': 'multiplierPop 2s ease-out forwards',
'score-glow': 'scoreGlow 2s ease-in-out infinite',
'skeleton': 'skeleton-loading 1.5s ease-in-out infinite',
},
backdropBlur: {
xs: '2px',
},
boxShadow: {
'glass': '0 8px 32px rgba(0, 0, 0, 0.1)',
'glow': '0 0 20px rgba(255, 69, 0, 0.5)', // brand-red glow
'glow-strong': '0 0 30px rgba(var(--color-accent), 0.6)',
},
borderRadius: {
'4xl': '2rem',
// Kawaii-Cyberpunk custom border radius
'kawaii': '24px',
'pill': '9999px',
},
gradientColorStops: {
'gradient-primary-start': 'rgb(99, 102, 241)',
'gradient-primary-end': 'rgb(139, 92, 246)',
},
},
},
plugins: [],
};