-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
92 lines (89 loc) · 2.92 KB
/
Copy pathtailwind.config.js
File metadata and controls
92 lines (89 loc) · 2.92 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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
/* ── Project brand tokens ── */
background: 'var(--bg)',
text: 'var(--text)',
accent: 'var(--accent)',
'glass-bg': 'var(--glass-bg)',
'glass-border': 'var(--glass-border)',
'card-hover': 'var(--card-hover)',
muted: 'var(--muted)',
'grid-color': 'var(--grid-color)',
neutral: 'var(--color-neutral)',
about: 'var(--color-about)',
projects: 'var(--color-projects)',
events: 'var(--color-events)',
blogs: 'var(--color-blogs)',
contact: 'var(--color-contact)',
/* ── Shadcn / Radix semantic tokens ── */
border: 'oklch(var(--border))',
input: 'oklch(var(--input))',
ring: 'oklch(var(--ring))',
foreground: 'oklch(var(--foreground))',
primary: {
DEFAULT: 'oklch(var(--primary))',
foreground: 'oklch(var(--primary-foreground))',
},
secondary: {
DEFAULT: 'oklch(var(--secondary))',
foreground: 'oklch(var(--secondary-foreground))',
},
destructive: {
DEFAULT: 'oklch(var(--destructive))',
foreground: 'oklch(var(--destructive-foreground))',
},
popover: {
DEFAULT: 'oklch(var(--popover))',
foreground: 'oklch(var(--popover-foreground))',
},
card: {
DEFAULT: 'oklch(var(--card))',
foreground: 'oklch(var(--card-foreground))',
},
'muted-foreground': 'oklch(var(--muted-foreground))',
'accent-foreground': 'oklch(var(--accent-foreground))',
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
fontFamily: {
sans: ['var(--font-ui)', 'sans-serif'],
mono: ['var(--font-mono)', 'monospace'],
heading: ['var(--font-heading)', 'sans-serif'],
},
backgroundImage: {
octohead: 'url("/octohead.png")',
'gradient-brand': 'linear-gradient(135deg, #00ffd5, #a855f7)',
'gradient-brand-horizontal': 'linear-gradient(90deg, #00ffd5, #a855f7)',
},
animation: {
powerOn: 'powerOn 1.8s ease forwards',
glowPulse: 'glowPulse 1.8s ease-out forwards',
},
keyframes: {
powerOn: {
'0%': { opacity: '0', transform: 'scale(0.85)' },
'40%': { opacity: '1', transform: 'scale(1.05)' },
'70%': { transform: 'scale(0.98)' },
'100%': { opacity: '0', transform: 'scale(1)' },
},
glowPulse: {
'0%': { opacity: '0', transform: 'scale(0.7)' },
'60%': { opacity: '1', transform: 'scale(1)' },
'100%': { opacity: '0' },
},
},
},
},
plugins: [],
}