返回 CodeWhale
tokens.json
根目录 / vendor / codewhale-design / tokens.json
1 {
2 "version": "5.5.0",
3 "colors": {
4 "dark": {
5 "background": "05070b",
6 "foreground": "edf1f7",
7 "surface": "080b11",
8 "muted_foreground": "b2bfcd",
9 "subagent": "bccad9",
10 "disabled": "828f9e",
11 "border": "263040",
12 "sidebar": "0f131c",
13 "primary": "0b4cc4",
14 "primary_foreground": "ffffff",
15 "accent": "94beff",
16 "hover": "202938",
17 "selected": "18202e",
18 "attention": "f0be82",
19 "live": "7fdfc8",
20 "live_peak": "e3fcf4",
21 "danger": "f4a8a0",
22 "border_strong": "8a97a8",
23 "ocean_depth": "0b111c",
24 "diff_add": "1d352a",
25 "diff_remove": "422b2c"
26 },
27 "light": {
28 "background": "f4f7fc",
29 "foreground": "162230",
30 "surface": "fefeff",
31 "muted_foreground": "45515f",
32 "subagent": "374553",
33 "disabled": "68727f",
34 "border": "d5dde8",
35 "sidebar": "fcfdfe",
36 "primary": "0b4cc4",
37 "primary_foreground": "ffffff",
38 "accent": "1552c6",
39 "hover": "e2eaf4",
40 "selected": "d6e1f0",
41 "attention": "7b4b06",
42 "live": "146857",
43 "live_peak": "0b3f33",
44 "danger": "a42531",
45 "border_strong": "687381",
46 "ocean_depth": "f7f9fc",
47 "diff_add": "d2ebdd",
48 "diff_remove": "f8e1dd"
49 }
50 },
51 "water": {
52 "dark": [
53 {
54 "color": "0d1422",
55 "at": 0
56 },
57 {
58 "color": "090e19",
59 "at": 36
60 },
61 {
62 "color": "060910",
63 "at": 74
64 },
65 {
66 "color": "05070b",
67 "at": 100
68 }
69 ],
70 "light": [
71 {
72 "color": "e2ebf7",
73 "at": 0
74 },
75 {
76 "color": "e9f0f9",
77 "at": 32
78 },
79 {
80 "color": "eff4fb",
81 "at": 65
82 },
83 {
84 "color": "f4f7fc",
85 "at": 100
86 }
87 ]
88 },
89 "surface_light": {
90 "dark": {
91 "x": 52,
92 "y": 0,
93 "stops": [
94 {
95 "color": {
96 "hex": "3b82f6",
97 "alpha": 0.18
98 },
99 "at": 0
100 },
101 {
102 "color": {
103 "hex": "0b48bb",
104 "alpha": 0.06
105 },
106 "at": 46
107 },
108 {
109 "color": {
110 "hex": "0b48bb",
111 "alpha": 0
112 },
113 "at": 76
114 }
115 ]
116 },
117 "light": {
118 "x": 52,
119 "y": 0,
120 "stops": [
121 {
122 "color": {
123 "hex": "ffffff",
124 "alpha": 0.9
125 },
126 "at": 0
127 },
128 {
129 "color": {
130 "hex": "ffffff",
131 "alpha": 0.32
132 },
133 "at": 42
134 },
135 {
136 "color": {
137 "hex": "ffffff",
138 "alpha": 0
139 },
140 "at": 74
141 }
142 ]
143 }
144 },
145 "glass": {
146 "dark": {
147 "border": {
148 "hex": "ffffff",
149 "alpha": 0.1
150 },
151 "highlight": {
152 "hex": "ffffff",
153 "alpha": 0.16
154 },
155 "clear": {
156 "fill": {
157 "hex": "141a25",
158 "alpha": 0.42
159 },
160 "blur_px": 14
161 },
162 "frosted": {
163 "fill": {
164 "hex": "141a25",
165 "alpha": 0.64
166 },
167 "blur_px": 28
168 },
169 "solid": {
170 "fill": {
171 "hex": "141a25",
172 "alpha": 1
173 },
174 "blur_px": 0
175 }
176 },
177 "light": {
178 "border": {
179 "hex": "182838",
180 "alpha": 0.11
181 },
182 "highlight": {
183 "hex": "ffffff",
184 "alpha": 0.88
185 },
186 "clear": {
187 "fill": {
188 "hex": "ffffff",
189 "alpha": 0.48
190 },
191 "blur_px": 14
192 },
193 "frosted": {
194 "fill": {
195 "hex": "ffffff",
196 "alpha": 0.72
197 },
198 "blur_px": 28
199 },
200 "solid": {
201 "fill": {
202 "hex": "ffffff",
203 "alpha": 1
204 },
205 "blur_px": 0
206 }
207 }
208 },
209 "sheet": {
210 "dark": {
211 "fill": {
212 "hex": "090c13",
213 "alpha": 0.8
214 },
215 "border": {
216 "hex": "ffffff",
217 "alpha": 0.075
218 }
219 },
220 "light": {
221 "fill": {
222 "hex": "ffffff",
223 "alpha": 0.92
224 },
225 "border": {
226 "hex": "182838",
227 "alpha": 0.09
228 }
229 }
230 },
231 "card": {
232 "dark": {
233 "fill": {
234 "hex": "ffffff",
235 "alpha": 0.04
236 },
237 "border": {
238 "hex": "ffffff",
239 "alpha": 0.095
240 }
241 },
242 "light": {
243 "fill": {
244 "hex": "ffffff",
245 "alpha": 1
246 },
247 "border": {
248 "hex": "182838",
249 "alpha": 0.1
250 }
251 }
252 },
253 "change_bar": {
254 "dark": {
255 "fill": {
256 "hex": "ffffff",
257 "alpha": 0.045
258 },
259 "border": {
260 "hex": "ffffff",
261 "alpha": 0.1
262 }
263 },
264 "light": {
265 "fill": {
266 "hex": "1b2a35",
267 "alpha": 0.035
268 },
269 "border": {
270 "hex": "1f3340",
271 "alpha": 0.11
272 }
273 }
274 },
275 "subagent_tag": {
276 "dark": {
277 "fill": {
278 "hex": "94beff",
279 "alpha": 0.09
280 },
281 "border": {
282 "hex": "94beff",
283 "alpha": 0.24
284 }
285 },
286 "light": {
287 "fill": {
288 "hex": "1b2a35",
289 "alpha": 0.055
290 },
291 "border": {
292 "hex": "1f3340",
293 "alpha": 0.14
294 }
295 }
296 },
297 "workbar": {
298 "dark": {
299 "fill": {
300 "hex": "0e131d",
301 "alpha": 0.74
302 },
303 "border": {
304 "hex": "ffffff",
305 "alpha": 0.09
306 },
307 "track": {
308 "hex": "ffffff",
309 "alpha": 0.13
310 }
311 },
312 "light": {
313 "fill": {
314 "hex": "eef3f8",
315 "alpha": 0.78
316 },
317 "border": {
318 "hex": "1f3340",
319 "alpha": 0.1
320 },
321 "track": {
322 "hex": "1b2a35",
323 "alpha": 0.11
324 }
325 }
326 },
327 "typography": {
328 "family": "Geist Sans",
329 "mono_family": "Geist Mono",
330 "fallbacks": [
331 "PingFang SC",
332 "Hiragino Sans GB",
333 "Microsoft YaHei UI",
334 "Microsoft YaHei",
335 "Noto Sans CJK SC",
336 "Noto Sans SC",
337 "Source Han Sans SC"
338 ],
339 "body_px": 14,
340 "mono_px": 13,
341 "caption_px": 11.5,
342 "prose_px": 16,
343 "heading_px": 15,
344 "title_px": 22
345 },
346 "spacing": {
347 "hairline": 2,
348 "compact": 4,
349 "tight": 6,
350 "control": 8,
351 "snug": 10,
352 "group": 12,
353 "prose": 14,
354 "section": 16,
355 "large": 24,
356 "page": 32
357 },
358 "radius": {
359 "small": 6,
360 "field": 8,
361 "control": 10,
362 "panel": 18,
363 "sheet": 18,
364 "window": 14,
365 "card": 14,
366 "composer": 24,
367 "chip": 999
368 },
369 "focus": {
370 "width": 2,
371 "offset": 3
372 },
373 "icons": {
374 "grid": 24,
375 "stroke": 1.7
376 },
377 "motion": {
378 "spring_stiffness": 420,
379 "spring_damping": 42,
380 "spring_mass": 1,
381 "pet_poll_ms": 30,
382 "reduced_poll_ms": 500,
383 "duration_state_ms": 120,
384 "duration_arrive_ms": 180,
385 "duration_exit_ms": 120,
386 "duration_panel_ms": 340,
387 "duration_linger_ms": 1200,
388 "duration_flash_in_ms": 90,
389 "arrive_rise_px": 4,
390 "loop_beat_ms": 1200,
391 "loop_breathe_ms": 2400,
392 "loop_spin_ms": 1000,
393 "loop_fps_cap": 15,
394 "sweep_active_ms": 1800,
395 "sweep_rest_ms": 600,
396 "sweep_delay_ms": 400,
397 "sweep_width_cells": 9,
398 "sweep_strength": 0.78,
399 "breathe_min_alpha": 0.18,
400 "breathe_max_alpha": 0.55,
401 "flash_earn_ms": 1000,
402 "stall_quiet_ms": 30000
403 },
404 "easing": {
405 "out": [
406 0,
407 0,
408 0.2,
409 1
410 ],
411 "in": [
412 0.4,
413 0,
414 1,
415 1
416 ],
417 "panel": [
418 0.2,
419 0.1,
420 0.16,
421 1
422 ],
423 "sine": [
424 0.37,
425 0,
426 0.63,
427 1
428 ]
429 },
430 "stream": {
431 "reveal_first_ms": 100,
432 "reveal_lag_ms": 500,
433 "rate_window_ms": 1000,
434 "instant_graphemes": 8,
435 "max_pending_bytes": 16384
436 },
437 "glow": {
438 "blur_px": 6,
439 "primary_alpha": 0.12,
440 "live_alpha": 0.35,
441 "attention_alpha": 0.4
442 },
443 "ombre": {
444 "rise": "176fd0",
445 "deep": "0b4cc4"
446 },
447 "elevation": {
448 "popover_y_px": 4,
449 "popover_blur_px": 8,
450 "popover_alpha_dark": 0.4,
451 "popover_alpha_light": 0.16,
452 "dialog_y_px": 12,
453 "dialog_blur_px": 32,
454 "dialog_alpha_dark": 0.5,
455 "dialog_alpha_light": 0.2
456 },
457 "tint": {
458 "accent_fill": 0.12,
459 "accent_border": 0.35,
460 "live_fill": 0.1,
461 "live_border": 0.42,
462 "attention_fill": 0.1,
463 "attention_border": 0.42,
464 "danger_fill": 0.1,
465 "danger_border": 0.45,
466 "count_fill": 0.08,
467 "scrim": 0.45,
468 "on_primary_border": 0.45
469 },
470 "selection_opacity": 0.28,
471 "primary_hover_opacity": 0.9,
472 "type_roles": {
473 "caption": {
474 "size_px": 11.5,
475 "line_px": 16,
476 "weight": 400
477 },
478 "label": {
479 "size_px": 12.5,
480 "line_px": 18,
481 "weight": 400
482 },
483 "control": {
484 "size_px": 13,
485 "line_px": 20,
486 "weight": 400
487 },
488 "body": {
489 "size_px": 14,
490 "line_px": 22,
491 "weight": 400
492 },
493 "reading": {
494 "size_px": 15,
495 "line_px": 25,
496 "weight": 400
497 },
498 "prose": {
499 "size_px": 16,
500 "line_px": 27,
501 "weight": 400
502 },
503 "heading": {
504 "size_px": 15,
505 "line_px": 22,
506 "weight": 550
507 },
508 "subheading": {
509 "size_px": 17,
510 "line_px": 26,
511 "weight": 550
512 },
513 "title": {
514 "size_px": 22,
515 "line_px": 28,
516 "weight": 550
517 },
518 "display": {
519 "size_px": 28,
520 "line_px": 34,
521 "weight": 550
522 },
523 "code": {
524 "size_px": 13,
525 "line_px": 20,
526 "weight": 400
527 }
528 },
529 "size": {
530 "control_px": 28,
531 "row_px": 30,
532 "session_row_px": 44,
533 "turn_line_px": 28,
534 "change_bar_px": 36,
535 "touch_target_px": 44,
536 "icon_px": 16,
537 "icon_large_px": 20,
538 "sidebar_px": 268,
539 "reading_px": 680,
540 "composer_px": 720,
541 "panel_px": 320,
542 "panel_wide_px": 560
543 },
544 "breakpoints": {
545 "compact_px": 720,
546 "medium_px": 900,
547 "wide_px": 1200
548 }
549 }
550
550 lines JSON