-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
97 lines (97 loc) · 3.37 KB
/
Copy pathtailwind.config.js
File metadata and controls
97 lines (97 loc) · 3.37 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
brand: {
obsidian: '#0A0B0D',
bone: '#F4F1EB',
graphite: '#1F2226',
parchment: '#E6DFD1',
gold: '#B8935B',
ink: '#0E1A3A',
},
// Semantic brand colors — used across sections
growth: { DEFAULT: '#10B981', light: 'rgba(16,185,129,0.14)', dark: '#059669' },
ripple: { DEFAULT: '#A78BFA', light: 'rgba(167,139,250,0.14)', dark: '#7C3AED' },
// Status semantic tokens
status: {
open: '#3b82f6',
active: '#10B981',
warning: '#f59e0b',
danger: '#ef4444',
completed: '#6b7280',
archived: '#94a3b8',
},
},
fontFamily: {
sans: ['Söhne', 'system-ui', 'sans-serif'],
serif: ['GT Sectra', 'Canela', 'Georgia', 'serif'],
mono: ['Söhne Mono', 'Courier New', 'monospace'],
},
fontSize: {
'status': ['11px', { lineHeight: '14px', letterSpacing: '0.04em' }],
'metadata': ['12px', { lineHeight: '16px', letterSpacing: '0.02em' }],
'body': ['14px', { lineHeight: '22px', letterSpacing: '0.01em' }],
'subheading': ['16px', { lineHeight: '24px', letterSpacing: '-0.01em' }],
'heading': ['24px', { lineHeight: '32px', letterSpacing: '-0.02em' }],
'display': ['32px', { lineHeight: '40px', letterSpacing: '-0.03em' }],
'display-lg': ['48px', { lineHeight: '56px', letterSpacing: '-0.04em' }],
},
fontWeight: {
400: '400',
500: '500',
600: '600',
700: '700',
800: '800',
},
borderRadius: {
'sm': '6px',
'md': '10px',
'lg': '14px',
'xl': '18px',
'2xl': '24px',
'3xl': '32px',
'full': '9999px',
},
boxShadow: {
'xs': '0 1px 2px rgba(15, 23, 42, 0.04)',
'sm': '0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02)',
'md': '0 8px 24px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04)',
'lg': '0 14px 40px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.05)',
'xl': '0 24px 56px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.08)',
},
animation: {
'fade-in': 'fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1)',
'fade-up': 'fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
'slide-in-right': 'slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'shimmer': 'shimmer 1.5s infinite linear',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeUp: {
'0%': { opacity: '0', transform: 'translateY(12px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
slideInRight: {
'0%': { transform: 'translateX(100%)' },
'100%': { transform: 'translateX(0)' },
},
shimmer: {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' },
}
},
},
},
plugins: [],
};