forked from flockhopper3/deflock_maps
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtailwind.config.js
More file actions
99 lines (99 loc) · 3.14 KB
/
Copy pathtailwind.config.js
File metadata and controls
99 lines (99 loc) · 3.14 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
98
99
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
'3xl': '1920px', // Full HD+
'4xl': '2560px', // QHD / 2K
},
extend: {
colors: {
dark: {
900: '#0a0a0f',
800: '#101018',
700: '#1a1a24',
600: '#252530',
500: '#6b7280',
400: '#9ca3af',
300: '#d1d5db',
200: '#e5e7eb',
100: '#f3f4f6',
},
// Instrument language: the one border treatment for chrome
hairline: 'rgba(255,255,255,0.12)',
accent: {
DEFAULT: '#0080BC',
hover: '#0095d9',
muted: 'rgba(0,128,188,0.12)',
},
route: {
direct: '#e5a04d',
// Green: privacy route must not blend into the blue camera dots
avoid: '#22c55e',
},
danger: '#ef4444',
success: '#22c55e',
background: '#0a0a0f',
foreground: '#f3f4f6',
card: { DEFAULT: '#101018', foreground: '#f3f4f6' },
popover: { DEFAULT: '#101018', foreground: '#f3f4f6' },
primary: { DEFAULT: '#0080BC', foreground: '#fafafa' },
secondary: { DEFAULT: '#1a1a24', foreground: '#f3f4f6' },
muted: { DEFAULT: '#252530', foreground: '#9ca3af' },
destructive: { DEFAULT: '#ef4444', foreground: '#fafafa' },
border: '#252530',
input: '#1a1a24',
ring: '#0080BC',
},
fontFamily: {
sans: ['DM Sans', 'system-ui', 'sans-serif'],
display: ['Space Grotesk', 'system-ui', 'sans-serif'],
mono: ['JetBrains Mono', 'SF Mono', 'Fira Code', 'monospace'],
},
fontSize: {
// Uppercase micro-labels ("COUNTY", tab labels)
'2xs': ['0.625rem', { lineHeight: '0.875rem', letterSpacing: '0.06em' }],
'xs': ['0.75rem', { lineHeight: '1.25rem' }],
'sm': ['0.875rem', { lineHeight: '1.375rem' }],
'base': ['0.9375rem', { lineHeight: '1.5rem' }],
'lg': ['1.125rem', { lineHeight: '1.625rem' }],
'xl': ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
},
borderRadius: {
lg: '0.5rem',
md: '0.375rem',
sm: '0.25rem',
},
animation: {
'fade-in': 'fadeIn 0.2s cubic-bezier(0.25, 1, 0.5, 1)',
'slide-up': 'slideUp 0.2s cubic-bezier(0.25, 1, 0.5, 1)',
'nudge-up': 'nudgeUp 1.8s ease-in-out infinite',
},
keyframes: {
nudgeUp: {
'0%, 100%': { transform: 'translateY(1px)', opacity: '0.5' },
'50%': { transform: 'translateY(-2px)', opacity: '1' },
},
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(8px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(16px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
},
},
plugins: [],
}