@tollerud/ui 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +242 -0
- package/dist/index.cjs +2750 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +704 -0
- package/dist/index.d.ts +704 -0
- package/dist/index.js +2650 -0
- package/dist/index.js.map +1 -0
- package/globals.css +920 -0
- package/package.json +104 -0
- package/tia-full-figure.svg +558 -0
- package/tokens.css +525 -0
- package/tollerud-avatar.png +0 -0
- package/tollerud-avatar.svg +85 -0
- package/tollerud-logo.svg +1 -0
- package/tollerud-preset.js +191 -0
package/tokens.css
ADDED
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
/* ═══════════════════════════════════════════════
|
|
2
|
+
Tollerud Design System — Design Tokens
|
|
3
|
+
Dark, monochrome + yellow accent system
|
|
4
|
+
═══════════════════════════════════════════════ */
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
/* ── Brand ── */
|
|
8
|
+
--tollerud-yellow: #E8D500;
|
|
9
|
+
--tollerud-yellow-bright: #FFFF00;
|
|
10
|
+
--tollerud-acid: #FFFF00; /* Tollerud high-voltage yellow */
|
|
11
|
+
--tollerud-yellow-dim: #B8A800;
|
|
12
|
+
--tollerud-amber: #FFB800;
|
|
13
|
+
--tollerud-amber-glow: #FF8C00;
|
|
14
|
+
|
|
15
|
+
/* ── Noir Palette ── */
|
|
16
|
+
--tollerud-black: #0A0A0A;
|
|
17
|
+
--tollerud-noir-900: #121212;
|
|
18
|
+
--tollerud-noir-800: #1A1A1A;
|
|
19
|
+
--tollerud-noir-700: #252525;
|
|
20
|
+
--tollerud-noir-600: #333333;
|
|
21
|
+
--tollerud-noir-500: #4A4A4A;
|
|
22
|
+
--tollerud-noir-400: #666666;
|
|
23
|
+
--tollerud-noir-300: #888888;
|
|
24
|
+
--tollerud-noir-200: #AAAAAA;
|
|
25
|
+
--tollerud-noir-100: #CCCCCC;
|
|
26
|
+
--tollerud-noir-50: #E5E5E5;
|
|
27
|
+
--tollerud-white: #F5F5F5;
|
|
28
|
+
|
|
29
|
+
/* ── Surfaces ── */
|
|
30
|
+
--tollerud-surface: #0A0A0A;
|
|
31
|
+
--tollerud-surface-raised: #121212;
|
|
32
|
+
--tollerud-surface-overlay: #1A1A1A;
|
|
33
|
+
--tollerud-surface-hover: #252525;
|
|
34
|
+
|
|
35
|
+
/* ── Text ── */
|
|
36
|
+
--tollerud-text-primary: #F5F5F5;
|
|
37
|
+
--tollerud-text-secondary: #AAAAAA;
|
|
38
|
+
--tollerud-text-muted: #666666;
|
|
39
|
+
--tollerud-text-inverse: #0A0A0A;
|
|
40
|
+
|
|
41
|
+
/* ── Borders ── */
|
|
42
|
+
--tollerud-border: #333333;
|
|
43
|
+
--tollerud-border-subtle: #252525;
|
|
44
|
+
--tollerud-border-accent: #E8D500;
|
|
45
|
+
|
|
46
|
+
/* ── States ── */
|
|
47
|
+
--tollerud-success: #22C55E;
|
|
48
|
+
--tollerud-warning: #E8D500;
|
|
49
|
+
--tollerud-error: #EF4444;
|
|
50
|
+
--tollerud-info: #3B82F6;
|
|
51
|
+
|
|
52
|
+
/* ── Typography ── */
|
|
53
|
+
--tollerud-font-sans: 'Inter', 'SF Pro', system-ui, sans-serif;
|
|
54
|
+
--tollerud-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
|
|
55
|
+
--tollerud-font-display: 'Inter', 'SF Pro Display', system-ui, sans-serif;
|
|
56
|
+
|
|
57
|
+
--tollerud-text-xs: 0.75rem;
|
|
58
|
+
--tollerud-text-sm: 0.875rem;
|
|
59
|
+
--tollerud-text-base: 1rem;
|
|
60
|
+
--tollerud-text-lg: 1.125rem;
|
|
61
|
+
--tollerud-text-xl: 1.25rem;
|
|
62
|
+
--tollerud-text-2xl: 1.5rem;
|
|
63
|
+
--tollerud-text-3xl: 1.875rem;
|
|
64
|
+
--tollerud-text-4xl: 2.25rem;
|
|
65
|
+
--tollerud-text-5xl: 3rem;
|
|
66
|
+
--tollerud-text-6xl: 3.75rem;
|
|
67
|
+
--tollerud-text-7xl: 4.5rem;
|
|
68
|
+
|
|
69
|
+
/* ── Spacing ── */
|
|
70
|
+
--tollerud-space-1: 0.25rem;
|
|
71
|
+
--tollerud-space-2: 0.5rem;
|
|
72
|
+
--tollerud-space-3: 0.75rem;
|
|
73
|
+
--tollerud-space-4: 1rem;
|
|
74
|
+
--tollerud-space-5: 1.25rem;
|
|
75
|
+
--tollerud-space-6: 1.5rem;
|
|
76
|
+
--tollerud-space-8: 2rem;
|
|
77
|
+
--tollerud-space-10: 2.5rem;
|
|
78
|
+
--tollerud-space-12: 3rem;
|
|
79
|
+
--tollerud-space-16: 4rem;
|
|
80
|
+
--tollerud-space-20: 5rem;
|
|
81
|
+
--tollerud-space-24: 6rem;
|
|
82
|
+
|
|
83
|
+
/* ── Radii ── */
|
|
84
|
+
--tollerud-radius-none: 0;
|
|
85
|
+
--tollerud-radius-sm: 0.125rem;
|
|
86
|
+
--tollerud-radius: 0.25rem;
|
|
87
|
+
--tollerud-radius-md: 0.375rem;
|
|
88
|
+
--tollerud-radius-lg: 0.5rem;
|
|
89
|
+
--tollerud-radius-xl: 0.75rem;
|
|
90
|
+
--tollerud-radius-2xl: 1rem;
|
|
91
|
+
|
|
92
|
+
/* ── Shadows ── */
|
|
93
|
+
--tollerud-shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.4);
|
|
94
|
+
--tollerud-shadow: 0 1px 3px 0 rgba(0,0,0,0.5), 0 1px 2px -1px rgba(0,0,0,0.3);
|
|
95
|
+
--tollerud-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.5), 0 2px 4px -2px rgba(0,0,0,0.3);
|
|
96
|
+
--tollerud-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5), 0 4px 6px -4px rgba(0,0,0,0.3);
|
|
97
|
+
--tollerud-shadow-glow: 0 0 15px rgba(232,213,0,0.3), 0 0 30px rgba(232,213,0,0.1);
|
|
98
|
+
|
|
99
|
+
/* ── Glass ── */
|
|
100
|
+
--tollerud-glass-bg: rgba(10, 10, 10, 0.88);
|
|
101
|
+
--tollerud-glass-border: rgba(232, 213, 0, 0.08);
|
|
102
|
+
--tollerud-glass-blur: blur(20px);
|
|
103
|
+
|
|
104
|
+
/* ── Grid ── */
|
|
105
|
+
--tollerud-grid-color: rgba(232, 213, 0, 0.03);
|
|
106
|
+
--tollerud-grid-size: 40px;
|
|
107
|
+
|
|
108
|
+
/* ── Terminal ── */
|
|
109
|
+
--tollerud-terminal-prefix: '❯ ';
|
|
110
|
+
--tollerud-terminal-color: var(--tollerud-yellow);
|
|
111
|
+
--tollerud-terminal-bg: rgba(232, 213, 0, 0.04);
|
|
112
|
+
|
|
113
|
+
/* ── Gradient Accents ── */
|
|
114
|
+
--tollerud-gradient-yellow: linear-gradient(
|
|
115
|
+
90deg,
|
|
116
|
+
transparent,
|
|
117
|
+
var(--tollerud-yellow) 35%,
|
|
118
|
+
var(--tollerud-amber) 50%,
|
|
119
|
+
var(--tollerud-yellow) 65%,
|
|
120
|
+
transparent
|
|
121
|
+
);
|
|
122
|
+
--tollerud-gradient-btn: linear-gradient(
|
|
123
|
+
135deg,
|
|
124
|
+
var(--tollerud-yellow),
|
|
125
|
+
var(--tollerud-yellow-dim)
|
|
126
|
+
);
|
|
127
|
+
--tollerud-gradient-soft: linear-gradient(
|
|
128
|
+
135deg,
|
|
129
|
+
rgba(232, 213, 0, 0.8),
|
|
130
|
+
rgba(255, 184, 0, 0.4)
|
|
131
|
+
);
|
|
132
|
+
|
|
133
|
+
/* ── Transitions ── */
|
|
134
|
+
--tollerud-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
135
|
+
--tollerud-transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
136
|
+
--tollerud-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* ── Base Styles ── */
|
|
140
|
+
body {
|
|
141
|
+
font-family: var(--tollerud-font-sans);
|
|
142
|
+
font-size: var(--tollerud-text-base);
|
|
143
|
+
color: var(--tollerud-text-primary);
|
|
144
|
+
background-color: var(--tollerud-surface);
|
|
145
|
+
line-height: 1.5;
|
|
146
|
+
-webkit-font-smoothing: antialiased;
|
|
147
|
+
-moz-osx-font-smoothing: grayscale;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* ── Selection ── */
|
|
151
|
+
::selection {
|
|
152
|
+
background-color: rgba(232, 213, 0, 0.3);
|
|
153
|
+
color: var(--tollerud-text-primary);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* ── Scrollbar ── */
|
|
157
|
+
::-webkit-scrollbar {
|
|
158
|
+
width: 8px;
|
|
159
|
+
height: 8px;
|
|
160
|
+
}
|
|
161
|
+
::-webkit-scrollbar-track {
|
|
162
|
+
background: var(--tollerud-surface);
|
|
163
|
+
}
|
|
164
|
+
::-webkit-scrollbar-thumb {
|
|
165
|
+
background: var(--tollerud-noir-600);
|
|
166
|
+
border-radius: 4px;
|
|
167
|
+
}
|
|
168
|
+
::-webkit-scrollbar-thumb:hover {
|
|
169
|
+
background: var(--tollerud-noir-500);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* ── Code Blocks ── */
|
|
173
|
+
code, pre {
|
|
174
|
+
font-family: var(--tollerud-font-mono);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* ── Utility: Focus Ring ── */
|
|
178
|
+
.tollerud-focus-ring:focus-visible {
|
|
179
|
+
outline: 2px solid var(--tollerud-yellow);
|
|
180
|
+
outline-offset: 2px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* ── Utility: Glow ── */
|
|
184
|
+
.tollerud-glow {
|
|
185
|
+
box-shadow: var(--tollerud-shadow-glow);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* ── Utility: Card ── */
|
|
189
|
+
.tollerud-card {
|
|
190
|
+
background: var(--tollerud-surface-raised);
|
|
191
|
+
border: 1px solid var(--tollerud-border);
|
|
192
|
+
border-radius: var(--tollerud-radius-lg);
|
|
193
|
+
padding: var(--tollerud-space-6);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/* ── Utility: Button ── */
|
|
197
|
+
.tollerud-btn {
|
|
198
|
+
display: inline-flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
gap: var(--tollerud-space-2);
|
|
202
|
+
font-family: var(--tollerud-font-sans);
|
|
203
|
+
font-weight: 600;
|
|
204
|
+
border-radius: var(--tollerud-radius);
|
|
205
|
+
transition: all var(--tollerud-transition-fast);
|
|
206
|
+
cursor: pointer;
|
|
207
|
+
border: 1px solid transparent;
|
|
208
|
+
}
|
|
209
|
+
.tollerud-btn:focus-visible {
|
|
210
|
+
outline: 2px solid var(--tollerud-yellow);
|
|
211
|
+
outline-offset: 2px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.tollerud-btn--primary {
|
|
215
|
+
background: var(--tollerud-yellow);
|
|
216
|
+
color: var(--tollerud-black);
|
|
217
|
+
border-color: var(--tollerud-yellow);
|
|
218
|
+
}
|
|
219
|
+
.tollerud-btn--primary:hover {
|
|
220
|
+
background: var(--tollerud-yellow-bright);
|
|
221
|
+
box-shadow: var(--tollerud-shadow-glow);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.tollerud-btn--secondary {
|
|
225
|
+
background: transparent;
|
|
226
|
+
color: var(--tollerud-text-primary);
|
|
227
|
+
border-color: var(--tollerud-border);
|
|
228
|
+
}
|
|
229
|
+
.tollerud-btn--secondary:hover {
|
|
230
|
+
border-color: var(--tollerud-text-secondary);
|
|
231
|
+
background: var(--tollerud-surface-hover);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.tollerud-btn--ghost {
|
|
235
|
+
background: transparent;
|
|
236
|
+
color: var(--tollerud-text-secondary);
|
|
237
|
+
}
|
|
238
|
+
.tollerud-btn--ghost:hover {
|
|
239
|
+
color: var(--tollerud-text-primary);
|
|
240
|
+
background: var(--tollerud-surface-hover);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.tollerud-btn--sm { padding: var(--tollerud-space-1) var(--tollerud-space-3); font-size: var(--tollerud-text-sm); }
|
|
244
|
+
.tollerud-btn--md { padding: var(--tollerud-space-2) var(--tollerud-space-4); font-size: var(--tollerud-text-base); }
|
|
245
|
+
.tollerud-btn--lg { padding: var(--tollerud-space-3) var(--tollerud-space-6); font-size: var(--tollerud-text-lg); }
|
|
246
|
+
|
|
247
|
+
/* ── Utility: Input ── */
|
|
248
|
+
.tollerud-input {
|
|
249
|
+
font-family: var(--tollerud-font-sans);
|
|
250
|
+
font-size: var(--tollerud-text-base);
|
|
251
|
+
padding: var(--tollerud-space-2) var(--tollerud-space-3);
|
|
252
|
+
background: var(--tollerud-surface-raised);
|
|
253
|
+
border: 1px solid var(--tollerud-border);
|
|
254
|
+
border-radius: var(--tollerud-radius);
|
|
255
|
+
color: var(--tollerud-text-primary);
|
|
256
|
+
transition: border-color var(--tollerud-transition-fast);
|
|
257
|
+
}
|
|
258
|
+
.tollerud-input::placeholder {
|
|
259
|
+
color: var(--tollerud-text-muted);
|
|
260
|
+
}
|
|
261
|
+
.tollerud-input:focus {
|
|
262
|
+
outline: none;
|
|
263
|
+
border-color: var(--tollerud-yellow);
|
|
264
|
+
box-shadow: 0 0 0 1px var(--tollerud-yellow);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/* ── Utility: Badge ── */
|
|
268
|
+
.tollerud-badge {
|
|
269
|
+
display: inline-flex;
|
|
270
|
+
align-items: center;
|
|
271
|
+
padding: 0.125rem var(--tollerud-space-2);
|
|
272
|
+
font-size: var(--tollerud-text-xs);
|
|
273
|
+
font-weight: 500;
|
|
274
|
+
border-radius: var(--tollerud-radius);
|
|
275
|
+
letter-spacing: 0.02em;
|
|
276
|
+
}
|
|
277
|
+
.tollerud-badge--default {
|
|
278
|
+
background: var(--tollerud-noir-700);
|
|
279
|
+
color: var(--tollerud-text-secondary);
|
|
280
|
+
}
|
|
281
|
+
.tollerud-badge--accent {
|
|
282
|
+
background: rgba(232, 213, 0, 0.15);
|
|
283
|
+
color: var(--tollerud-yellow);
|
|
284
|
+
}
|
|
285
|
+
.tollerud-badge--success {
|
|
286
|
+
background: rgba(34, 197, 94, 0.15);
|
|
287
|
+
color: var(--tollerud-success);
|
|
288
|
+
}
|
|
289
|
+
.tollerud-badge--error {
|
|
290
|
+
background: rgba(239, 68, 68, 0.15);
|
|
291
|
+
color: var(--tollerud-error);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/* ── Utility: Divider ── */
|
|
295
|
+
.tollerud-divider {
|
|
296
|
+
border: none;
|
|
297
|
+
border-top: 1px solid var(--tollerud-border);
|
|
298
|
+
margin: var(--tollerud-space-6) 0;
|
|
299
|
+
}
|
|
300
|
+
.tollerud-divider--accent {
|
|
301
|
+
border-color: var(--tollerud-yellow);
|
|
302
|
+
width: 4rem;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* ═══════════════════════════════════════════════
|
|
306
|
+
Graphify-inspired Components
|
|
307
|
+
═══════════════════════════════════════════════ */
|
|
308
|
+
|
|
309
|
+
/* ── Noir Glow Background (Tollerud.no signature fallback) ── */
|
|
310
|
+
.tollerud-noir-glow-root { background: #000; isolation: isolate; }
|
|
311
|
+
.tollerud-noir-glow-bg {
|
|
312
|
+
position: absolute;
|
|
313
|
+
inset: 0;
|
|
314
|
+
background:
|
|
315
|
+
radial-gradient(70% 75% at 100% 0%, hsl(56, 100%, 80%) 0%, transparent 70%),
|
|
316
|
+
radial-gradient(80% 85% at 0% 100%, hsl(56, 100%, 50%) 0%, transparent 72%),
|
|
317
|
+
radial-gradient(60% 65% at 0% 0%, hsl(54, 85%, 66%) 0%, transparent 68%),
|
|
318
|
+
#000;
|
|
319
|
+
opacity: .45;
|
|
320
|
+
filter: saturate(1.05) contrast(1.02);
|
|
321
|
+
transform: translateZ(0);
|
|
322
|
+
animation: tollerud-noir-glow-drift 32s var(--tollerud-ease-in-out) infinite alternate;
|
|
323
|
+
}
|
|
324
|
+
.tollerud-noir-glow-vignette {
|
|
325
|
+
position: absolute;
|
|
326
|
+
inset: 0;
|
|
327
|
+
background:
|
|
328
|
+
radial-gradient(ellipse at center, rgba(0,0,0,.3) 0%, rgba(0,0,0,.08) 26%, rgba(0,0,0,.2) 58%, rgba(0,0,0,.64) 100%),
|
|
329
|
+
linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.5));
|
|
330
|
+
}
|
|
331
|
+
.tollerud-noir-noise {
|
|
332
|
+
position: absolute;
|
|
333
|
+
inset: -20%;
|
|
334
|
+
opacity: .16;
|
|
335
|
+
mix-blend-mode: screen;
|
|
336
|
+
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.85'/%3E%3C/svg%3E");
|
|
337
|
+
animation: tollerud-noir-noise-shift 1.6s steps(2, end) infinite;
|
|
338
|
+
}
|
|
339
|
+
@keyframes tollerud-noir-glow-drift {
|
|
340
|
+
0% { transform: scale(1.02) translate3d(-1.5%, -1%, 0) rotate(0deg); filter: saturate(1.05) contrast(1.04); }
|
|
341
|
+
50% { transform: scale(1.07) translate3d(1.2%, .8%, 0) rotate(.8deg); filter: saturate(1.2) contrast(1.12); }
|
|
342
|
+
100% { transform: scale(1.04) translate3d(1.8%, -1.4%, 0) rotate(-.6deg); filter: saturate(1.1) contrast(1.08); }
|
|
343
|
+
}
|
|
344
|
+
@keyframes tollerud-noir-noise-shift {
|
|
345
|
+
0% { transform: translate3d(0,0,0); }
|
|
346
|
+
25% { transform: translate3d(-2%,1%,0); }
|
|
347
|
+
50% { transform: translate3d(1%,-2%,0); }
|
|
348
|
+
75% { transform: translate3d(2%,2%,0); }
|
|
349
|
+
100% { transform: translate3d(-1%,0,0); }
|
|
350
|
+
}
|
|
351
|
+
@media (prefers-reduced-motion: reduce) {
|
|
352
|
+
.tollerud-noir-glow-bg,
|
|
353
|
+
.tollerud-noir-noise { animation: none !important; }
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/* ── Background Grid ── */
|
|
357
|
+
.tollerud-grid-bg {
|
|
358
|
+
pointer-events: none;
|
|
359
|
+
background-image:
|
|
360
|
+
linear-gradient(var(--tollerud-grid-color) 1px, transparent 1px),
|
|
361
|
+
linear-gradient(90deg, var(--tollerud-grid-color) 1px, transparent 1px);
|
|
362
|
+
background-size: var(--tollerud-grid-size) var(--tollerud-grid-size);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/* ── Glass / Frosted Nav ── */
|
|
366
|
+
.tollerud-glass {
|
|
367
|
+
background: var(--tollerud-glass-bg);
|
|
368
|
+
backdrop-filter: var(--tollerud-glass-blur);
|
|
369
|
+
-webkit-backdrop-filter: var(--tollerud-glass-blur);
|
|
370
|
+
border-bottom: 1px solid var(--tollerud-glass-border);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/* ── Terminal Button ── */
|
|
374
|
+
.tollerud-btn--terminal {
|
|
375
|
+
background: transparent;
|
|
376
|
+
color: var(--tollerud-yellow);
|
|
377
|
+
border: 1px solid rgba(232, 213, 0, 0.25);
|
|
378
|
+
font-weight: 500;
|
|
379
|
+
letter-spacing: normal;
|
|
380
|
+
font-family: var(--tollerud-font-mono);
|
|
381
|
+
}
|
|
382
|
+
.tollerud-btn--terminal::before {
|
|
383
|
+
content: var(--tollerud-terminal-prefix);
|
|
384
|
+
color: var(--tollerud-terminal-color);
|
|
385
|
+
opacity: 0.7;
|
|
386
|
+
}
|
|
387
|
+
.tollerud-btn--terminal:hover {
|
|
388
|
+
border-color: var(--tollerud-yellow);
|
|
389
|
+
box-shadow: var(--tollerud-shadow-glow);
|
|
390
|
+
background: rgba(232, 213, 0, 0.05);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/* ── Pill Tag ── */
|
|
394
|
+
.tollerud-pill {
|
|
395
|
+
display: inline-flex;
|
|
396
|
+
align-items: center;
|
|
397
|
+
padding: 0.375rem 1rem;
|
|
398
|
+
font-size: 0.6875rem;
|
|
399
|
+
font-weight: 500;
|
|
400
|
+
border-radius: 3px;
|
|
401
|
+
border: 1px solid;
|
|
402
|
+
letter-spacing: 0.01em;
|
|
403
|
+
}
|
|
404
|
+
.tollerud-pill--outline {
|
|
405
|
+
background: rgba(232, 213, 0, 0.06);
|
|
406
|
+
color: var(--tollerud-yellow);
|
|
407
|
+
border-color: rgba(232, 213, 0, 0.35);
|
|
408
|
+
}
|
|
409
|
+
.tollerud-pill--muted {
|
|
410
|
+
background: rgba(232, 213, 0, 0.03);
|
|
411
|
+
color: rgba(232, 213, 0, 0.55);
|
|
412
|
+
border-color: rgba(232, 213, 0, 0.15);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/* ── Gradient Accent Bar ── */
|
|
416
|
+
.tollerud-accent-bar {
|
|
417
|
+
height: 1px;
|
|
418
|
+
border: none;
|
|
419
|
+
background: var(--tollerud-gradient-yellow);
|
|
420
|
+
margin: var(--tollerud-space-12) 0;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/* ── Gradient Accent Text ── */
|
|
424
|
+
.tollerud-gradient-text {
|
|
425
|
+
background: var(--tollerud-gradient-soft);
|
|
426
|
+
-webkit-background-clip: text;
|
|
427
|
+
-webkit-text-fill-color: transparent;
|
|
428
|
+
background-clip: text;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/* ── Section Container ── */
|
|
432
|
+
.tollerud-section {
|
|
433
|
+
max-width: 1100px;
|
|
434
|
+
margin: 0 auto;
|
|
435
|
+
padding: 0 1.5rem;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/* ── Display Heading ── */
|
|
439
|
+
.tollerud-display {
|
|
440
|
+
font-weight: 600;
|
|
441
|
+
letter-spacing: -0.045em;
|
|
442
|
+
line-height: 0.95;
|
|
443
|
+
color: white;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/* ── Kbd (Keyboard Shortcut Chip) ── */
|
|
447
|
+
.tollerud-kbd { display: inline-flex; align-items: center; gap: 2px; }
|
|
448
|
+
.tollerud-kbd__key {
|
|
449
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
450
|
+
min-width: 22px; height: 22px; padding: 0 5px;
|
|
451
|
+
font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1;
|
|
452
|
+
color: var(--tollerud-noir-200); background: var(--tollerud-noir-800);
|
|
453
|
+
border: 1px solid var(--tollerud-noir-600); border-radius: 4px;
|
|
454
|
+
box-shadow: 0 1px 0 var(--tollerud-noir-600);
|
|
455
|
+
}
|
|
456
|
+
.tollerud-kbd--sm .tollerud-kbd__key { min-width: 18px; height: 18px; padding: 0 4px; font-size: 10px; }
|
|
457
|
+
|
|
458
|
+
/* ── Action Row ── */
|
|
459
|
+
.tollerud-action-row {
|
|
460
|
+
display: flex; align-items: center; gap: 0.75rem;
|
|
461
|
+
width: 100%; padding: 0.5rem 0.75rem;
|
|
462
|
+
background: transparent; border: none; border-radius: 6px;
|
|
463
|
+
cursor: pointer; text-align: left; font-family: var(--font-sans);
|
|
464
|
+
transition: background var(--motion-duration-fast) var(--motion-ease-in-out);
|
|
465
|
+
}
|
|
466
|
+
.tollerud-action-row:hover,
|
|
467
|
+
.tollerud-action-row--highlighted { background: var(--tollerud-noir-700); }
|
|
468
|
+
.tollerud-action-row--disabled { opacity: .4; cursor: not-allowed; }
|
|
469
|
+
.tollerud-action-row__icon { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: var(--tollerud-yellow); }
|
|
470
|
+
.tollerud-action-row__icon svg { width: 18px; height: 18px; }
|
|
471
|
+
.tollerud-action-row__content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
|
|
472
|
+
.tollerud-action-row__label { font-size: 14px; font-weight: 500; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
473
|
+
.tollerud-action-row__description { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
474
|
+
.tollerud-action-row__shortcut { flex-shrink: 0; margin-left: auto; }
|
|
475
|
+
|
|
476
|
+
/* ── Command Menu ── */
|
|
477
|
+
.tollerud-cmd-overlay {
|
|
478
|
+
position: fixed; inset: 0; z-index: var(--z-overlay);
|
|
479
|
+
background: rgba(0,0,0,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
|
|
480
|
+
animation: tollerud-cmd-overlay-in 150ms var(--motion-ease-out);
|
|
481
|
+
}
|
|
482
|
+
@keyframes tollerud-cmd-overlay-in { from { opacity: 0; } to { opacity: 1; } }
|
|
483
|
+
.tollerud-cmd {
|
|
484
|
+
position: fixed; top: 15vh; left: 50%; transform: translateX(-50%);
|
|
485
|
+
z-index: var(--z-modal);
|
|
486
|
+
width: min(90vw, 640px); max-height: 70vh;
|
|
487
|
+
display: flex; flex-direction: column;
|
|
488
|
+
background: var(--surface-raised); border: 1px solid var(--tollerud-noir-600); border-radius: 12px;
|
|
489
|
+
box-shadow: 0 16px 48px rgba(0,0,0,.6);
|
|
490
|
+
animation: tollerud-cmd-in 200ms var(--motion-ease-out); overflow: hidden;
|
|
491
|
+
}
|
|
492
|
+
@keyframes tollerud-cmd-in {
|
|
493
|
+
from { opacity: 0; transform: translateX(-50%) scale(.96) translateY(-8px); }
|
|
494
|
+
to { opacity: 1; transform: translateX(-50%) scale(1) translateY(0); }
|
|
495
|
+
}
|
|
496
|
+
.tollerud-cmd__header { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
|
|
497
|
+
.tollerud-cmd__search-icon { flex-shrink: 0; color: var(--text-muted); display: flex; align-items: center; }
|
|
498
|
+
.tollerud-cmd__input { flex: 1; background: transparent; border: none; outline: none; color: var(--foreground); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; }
|
|
499
|
+
.tollerud-cmd__input::placeholder { color: var(--text-muted); }
|
|
500
|
+
.tollerud-cmd__list { flex: 1; overflow-y: auto; padding: .5rem; display: flex; flex-direction: column; gap: .25rem; }
|
|
501
|
+
.tollerud-cmd__empty { padding: 2rem 1rem; text-align: center; font-size: 14px; color: var(--text-muted); }
|
|
502
|
+
.tollerud-cmd__group { display: flex; flex-direction: column; gap: 1px; }
|
|
503
|
+
.tollerud-cmd__group-label { padding: .5rem .75rem .25rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
|
|
504
|
+
.tollerud-cmd__footer { display: flex; align-items: center; gap: .75rem; padding: .5rem 1rem; border-top: 1px solid var(--border); flex-shrink: 0; }
|
|
505
|
+
.tollerud-cmd__hint { display: inline-flex; align-items: center; gap: 4px; }
|
|
506
|
+
.tollerud-cmd__hint-text { font-size: 11px; color: var(--text-muted); }
|
|
507
|
+
|
|
508
|
+
/* ── Timeline ── */
|
|
509
|
+
.tollerud-timeline { display: flex; flex-direction: column; }
|
|
510
|
+
.tollerud-timeline__item { display: flex; gap: .75rem; }
|
|
511
|
+
.tollerud-timeline__marker { display: flex; flex-direction: column; align-items: center; width: 20px; flex-shrink: 0; }
|
|
512
|
+
.tollerud-timeline__dot-group { display: flex; flex-direction: column; align-items: center; }
|
|
513
|
+
.tollerud-timeline__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tollerud-noir-500); flex-shrink: 0; }
|
|
514
|
+
.tollerud-timeline__dot--active { animation: tollerud-timeline-pulse 2s infinite; }
|
|
515
|
+
@keyframes tollerud-timeline-pulse {
|
|
516
|
+
0%, 100% { box-shadow: 0 0 0 0 rgba(232,213,0,.4); }
|
|
517
|
+
50% { box-shadow: 0 0 0 6px rgba(232,213,0,0); }
|
|
518
|
+
}
|
|
519
|
+
.tollerud-timeline__line { width: 1px; flex: 1; min-height: 8px; background: var(--tollerud-noir-600); margin-top: 4px; }
|
|
520
|
+
.tollerud-timeline__icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: var(--tollerud-yellow); }
|
|
521
|
+
.tollerud-timeline__content { flex: 1; min-width: 0; padding-bottom: 1.25rem; }
|
|
522
|
+
.tollerud-timeline__title { font-size: .875rem; font-weight: 600; color: var(--foreground); }
|
|
523
|
+
.tollerud-timeline__time { font-size: .75rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
|
|
524
|
+
.tollerud-timeline__description { font-size: .8125rem; color: var(--text-secondary); margin-top: .125rem; line-height: 1.4; }
|
|
525
|
+
.tollerud-timeline__meta { font-size: .6875rem; color: var(--text-muted); background: var(--tollerud-noir-800); padding: .125rem .375rem; border-radius: 3px; border: 1px solid var(--tollerud-noir-600); }
|
|
Binary file
|