-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
80 lines (80 loc) · 3.27 KB
/
Copy pathtailwind.config.js
File metadata and controls
80 lines (80 loc) · 3.27 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
container: {
center: true,
padding: '1rem',
},
extend: {
colors: {
background: { DEFAULT: 'var(--background)', secondary: 'var(--background-secondary)', elevated: 'var(--background-elevated)' },
foreground: { DEFAULT: 'var(--foreground)', muted: 'var(--foreground-muted)' },
primary: { DEFAULT: 'var(--primary)', dark: 'var(--primary-dark)', light: 'var(--primary-light)', foreground: 'var(--primary-foreground)' },
secondary: { DEFAULT: 'var(--secondary)', foreground: 'var(--secondary-foreground)' },
accent: { DEFAULT: 'var(--accent)', foreground: 'var(--accent-foreground)' },
muted: { DEFAULT: 'var(--muted)', foreground: 'var(--muted-foreground)' },
card: { DEFAULT: 'var(--card)', foreground: 'var(--card-foreground)' },
border: { DEFAULT: 'var(--border)', gold: 'var(--border-gold)' },
input: 'var(--input)',
ring: 'var(--ring)',
success: 'var(--success)',
warning: 'var(--warning)',
danger: 'var(--danger)',
info: 'var(--info)',
},
borderRadius: {
DEFAULT: 'var(--radius)',
sm: 'calc(var(--radius) - 4px)',
md: 'calc(var(--radius) - 2px)',
lg: 'var(--radius)',
xl: 'calc(var(--radius) + 4px)',
'2xl': 'calc(var(--radius) + 8px)',
},
fontFamily: {
sans: ['var(--font-dm-sans)', 'DM Sans', 'sans-serif'],
display: ['Cormorant Garamond', 'Georgia', 'serif'],
},
fontSize: {
'display-2xl': ['4.5rem', { lineHeight: '1.05', letterSpacing: '-0.02em' }],
'display-xl': ['3.75rem', { lineHeight: '1.08', letterSpacing: '-0.02em' }],
'display-lg': ['3rem', { lineHeight: '1.1', letterSpacing: '-0.01em' }],
'display-md': ['2.25rem', { lineHeight: '1.15', letterSpacing: '-0.01em' }],
},
animation: {
'fade-in': 'fadeIn 0.4s ease forwards',
'slide-up': 'slideUp 0.5s ease forwards',
'glow-pulse': 'glowPulse 3s ease-in-out infinite',
'spin-slow': 'spin-slow 20s linear infinite',
'float': 'float 4s ease-in-out infinite',
'shimmer': 'shimmer 2s infinite',
},
keyframes: {
fadeIn: {
from: { opacity: '0' },
to: { opacity: '1' },
},
slideUp: {
from: { opacity: '0', transform: 'translateY(20px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
},
backgroundImage: {
'gold-gradient': 'linear-gradient(135deg, #C8A96B 0%, #A67C52 100%)',
'gold-gradient-light': 'linear-gradient(135deg, #E8C87A 0%, #C8A96B 100%)',
'dark-gradient': 'linear-gradient(180deg, #0B0B0D 0%, #1A1A1F 100%)',
},
boxShadow: {
'gold': '0 4px 20px rgba(200, 169, 107, 0.3)',
'gold-lg': '0 8px 40px rgba(200, 169, 107, 0.2), 0 0 80px rgba(200, 169, 107, 0.05)',
'card': '0 4px 24px rgba(0, 0, 0, 0.4)',
'card-hover': '0 8px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(200, 169, 107, 0.08)',
'inner-gold': 'inset 0 1px 0 rgba(200, 169, 107, 0.2)',
},
},
},
plugins: [require('@tailwindcss/typography')],
};