@filipgutica/design-system 1.0.5 → 1.0.7
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/README.md +3 -3
- package/dist/class/base.css +1 -1
- package/dist/class/themes/graphite-indigo.css +1 -1
- package/dist/themes/graphite-indigo.css +4 -2
- package/dist/themes/mauve.css +11 -0
- package/dist/themes/pine.css +11 -0
- package/dist/tokens.d.ts +2 -2
- package/dist/tokens.js +429 -1
- package/dist/tokens.json +428 -0
- package/language/DESIGN.md +4 -4
- package/language/components.html +59 -23
- package/language/components.md +10 -8
- package/language/decisions.md +5 -2
- package/language/docs.html +1 -1
- package/language/reference.html +3 -1
- package/language/tokens.css +7 -5
- package/package.json +1 -1
package/dist/tokens.json
CHANGED
|
@@ -213,6 +213,434 @@
|
|
|
213
213
|
"duration": "180ms",
|
|
214
214
|
"ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
|
|
215
215
|
}
|
|
216
|
+
},
|
|
217
|
+
"mauve": {
|
|
218
|
+
"light": {
|
|
219
|
+
"color-project": "#6c5267",
|
|
220
|
+
"color-project-dark": "#d1b3c8",
|
|
221
|
+
"font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
|
|
222
|
+
"font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
|
|
223
|
+
"color-bg": "#f4f5f6",
|
|
224
|
+
"color-surface": "#e9ebed",
|
|
225
|
+
"color-surface-raised": "#fbfbfc",
|
|
226
|
+
"color-surface-muted": "#e2e5e8",
|
|
227
|
+
"color-well": "#e2e5e8",
|
|
228
|
+
"color-field-bg": "#fbfbfc",
|
|
229
|
+
"color-field-edge": "#d3d8dd",
|
|
230
|
+
"shadow-field": "none",
|
|
231
|
+
"color-control-thumb": "#fbfbfc",
|
|
232
|
+
"color-nav-current": "color-mix(in srgb, #6c5267 14%, #fbfbfc)",
|
|
233
|
+
"color-nav-current-text": "#6c5267",
|
|
234
|
+
"color-segmented-current-text": "#6c5267",
|
|
235
|
+
"color-row-hover": "#e2e5e8",
|
|
236
|
+
"color-row-selected": "#fbfbfc",
|
|
237
|
+
"color-border-subtle": "#d3d8dd",
|
|
238
|
+
"color-border": "#6d747b",
|
|
239
|
+
"color-text": "#101315",
|
|
240
|
+
"color-muted": "#50575e",
|
|
241
|
+
"color-overlay": "rgb(0 0 0 / 42%)",
|
|
242
|
+
"color-accent": "#6c5267",
|
|
243
|
+
"color-accent-text": "#f4f5f6",
|
|
244
|
+
"color-accent-hover": "#101315",
|
|
245
|
+
"color-button-hover": "color-mix(in srgb, #6c5267 85%, #101315)",
|
|
246
|
+
"color-link": "#0b5f7c",
|
|
247
|
+
"color-focus": "#6c5267",
|
|
248
|
+
"focus-width": "2px",
|
|
249
|
+
"focus-offset": "3px",
|
|
250
|
+
"color-success": "#157249",
|
|
251
|
+
"color-warning": "#86532e",
|
|
252
|
+
"color-error": "#bd342b",
|
|
253
|
+
"color-info": "#175cd3",
|
|
254
|
+
"color-success-surface": "#d9e5e1",
|
|
255
|
+
"color-warning-surface": "#e7e2de",
|
|
256
|
+
"color-error-surface": "#efe4e4",
|
|
257
|
+
"color-info-surface": "#d9e3f2",
|
|
258
|
+
"color-command-bg": "color-mix(in srgb, #6c5267 25%, #101010)",
|
|
259
|
+
"color-command-border": "transparent",
|
|
260
|
+
"color-terminal": "#0a0c0e",
|
|
261
|
+
"color-terminal-text": "#e6e9eb",
|
|
262
|
+
"color-terminal-border": "#2a3036",
|
|
263
|
+
"color-terminal-caption": "#13171a",
|
|
264
|
+
"color-terminal-caption-text": "#c9d0d6",
|
|
265
|
+
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
266
|
+
"color-code": "#e9ebed",
|
|
267
|
+
"color-code-text": "#101315",
|
|
268
|
+
"color-syntax-keyword": "#715b42",
|
|
269
|
+
"color-syntax-string": "#346347",
|
|
270
|
+
"color-syntax-number": "#86532e",
|
|
271
|
+
"color-syntax-comment": "#626772",
|
|
272
|
+
"text-xs": "0.75rem",
|
|
273
|
+
"text-sm": "0.8125rem",
|
|
274
|
+
"text-md": "0.875rem",
|
|
275
|
+
"text-lg": "1rem",
|
|
276
|
+
"text-xl": "1.25rem",
|
|
277
|
+
"text-2xl": "1.5rem",
|
|
278
|
+
"text-3xl": "2.75rem",
|
|
279
|
+
"text-reading": "1rem",
|
|
280
|
+
"text-display": "3.5rem",
|
|
281
|
+
"text-display-sm": "2.125rem",
|
|
282
|
+
"leading-tight": "1.25",
|
|
283
|
+
"leading": "1.6",
|
|
284
|
+
"weight-regular": "400",
|
|
285
|
+
"weight-medium": "500",
|
|
286
|
+
"weight-semibold": "600",
|
|
287
|
+
"tracking-tight": "-0.03em",
|
|
288
|
+
"text-code": "0.84375rem",
|
|
289
|
+
"space-1": "0.25rem",
|
|
290
|
+
"space-2": "0.5rem",
|
|
291
|
+
"space-3": "0.75rem",
|
|
292
|
+
"space-4": "1rem",
|
|
293
|
+
"space-5": "1.25rem",
|
|
294
|
+
"space-6": "1.5rem",
|
|
295
|
+
"space-8": "2rem",
|
|
296
|
+
"space-12": "3rem",
|
|
297
|
+
"space-16": "4rem",
|
|
298
|
+
"space-20": "5rem",
|
|
299
|
+
"space-24": "6rem",
|
|
300
|
+
"control-sm": "2rem",
|
|
301
|
+
"control-md": "2.25rem",
|
|
302
|
+
"control-lg": "2.75rem",
|
|
303
|
+
"row": "2.25rem",
|
|
304
|
+
"measure": "68ch",
|
|
305
|
+
"page-max": "960px",
|
|
306
|
+
"page-wide": "1120px",
|
|
307
|
+
"sidebar": "224px",
|
|
308
|
+
"radius-inline": "6px",
|
|
309
|
+
"radius-control": "999px",
|
|
310
|
+
"radius-panel": "16px",
|
|
311
|
+
"radius-field": "10px",
|
|
312
|
+
"radius-pill": "999px",
|
|
313
|
+
"shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
|
|
314
|
+
"shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
|
|
315
|
+
"shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
|
|
316
|
+
"shadow-dialog": "0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px #d3d8dd",
|
|
317
|
+
"shadow-nav-current": "0 1px 3px rgb(130 142 158 / 40%)",
|
|
318
|
+
"shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #6c5267 18%, transparent)",
|
|
319
|
+
"shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #bd342b 18%, transparent)",
|
|
320
|
+
"duration-fast": "120ms",
|
|
321
|
+
"duration": "180ms",
|
|
322
|
+
"ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
|
|
323
|
+
},
|
|
324
|
+
"dark": {
|
|
325
|
+
"color-project": "#d1b3c8",
|
|
326
|
+
"color-project-dark": "#d1b3c8",
|
|
327
|
+
"font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
|
|
328
|
+
"font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
|
|
329
|
+
"color-bg": "#0d1012",
|
|
330
|
+
"color-surface": "#13171a",
|
|
331
|
+
"color-surface-raised": "#181d21",
|
|
332
|
+
"color-surface-muted": "#20262b",
|
|
333
|
+
"color-well": "color-mix(in srgb, #0d1012 87.5%, black)",
|
|
334
|
+
"color-field-bg": "color-mix(in srgb, #0d1012 87.5%, black)",
|
|
335
|
+
"color-field-edge": "#262d33",
|
|
336
|
+
"shadow-field": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
|
|
337
|
+
"color-control-thumb": "color-mix(in srgb, #181d21 88%, white)",
|
|
338
|
+
"color-nav-current": "color-mix(in srgb, #d1b3c8 20%, transparent)",
|
|
339
|
+
"color-nav-current-text": "#d1b3c8",
|
|
340
|
+
"color-segmented-current-text": "#d1b3c8",
|
|
341
|
+
"color-row-hover": "#20262b",
|
|
342
|
+
"color-row-selected": "#181d21",
|
|
343
|
+
"color-border-subtle": "#262d33",
|
|
344
|
+
"color-border": "#78818a",
|
|
345
|
+
"color-text": "#e6e9eb",
|
|
346
|
+
"color-muted": "#9aa3ab",
|
|
347
|
+
"color-overlay": "rgb(0 0 0 / 62%)",
|
|
348
|
+
"color-accent": "#d1b3c8",
|
|
349
|
+
"color-accent-text": "#0d1012",
|
|
350
|
+
"color-accent-hover": "#e6e9eb",
|
|
351
|
+
"color-button-hover": "color-mix(in srgb, #d1b3c8 85%, #e6e9eb)",
|
|
352
|
+
"color-link": "#67c1df",
|
|
353
|
+
"color-focus": "#d1b3c8",
|
|
354
|
+
"focus-width": "2px",
|
|
355
|
+
"focus-offset": "3px",
|
|
356
|
+
"color-success": "#4cc38a",
|
|
357
|
+
"color-warning": "#e2a54b",
|
|
358
|
+
"color-error": "#f0776c",
|
|
359
|
+
"color-info": "#84adff",
|
|
360
|
+
"color-success-surface": "#172d25",
|
|
361
|
+
"color-warning-surface": "#2f281b",
|
|
362
|
+
"color-error-surface": "#312020",
|
|
363
|
+
"color-info-surface": "#202938",
|
|
364
|
+
"color-command-bg": "color-mix(in srgb, #d1b3c8 16%, black)",
|
|
365
|
+
"color-command-border": "color-mix(in srgb, #d1b3c8 28%, black)",
|
|
366
|
+
"color-terminal": "#0a0c0e",
|
|
367
|
+
"color-terminal-text": "#e6e9eb",
|
|
368
|
+
"color-terminal-border": "#2a3036",
|
|
369
|
+
"color-terminal-caption": "#13171a",
|
|
370
|
+
"color-terminal-caption-text": "#c9d0d6",
|
|
371
|
+
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
372
|
+
"color-code": "#13171a",
|
|
373
|
+
"color-code-text": "#e6e9eb",
|
|
374
|
+
"color-syntax-keyword": "#d8c2a5",
|
|
375
|
+
"color-syntax-string": "#a8bd9c",
|
|
376
|
+
"color-syntax-number": "#d5b98c",
|
|
377
|
+
"color-syntax-comment": "#a0a6b1",
|
|
378
|
+
"text-xs": "0.75rem",
|
|
379
|
+
"text-sm": "0.8125rem",
|
|
380
|
+
"text-md": "0.875rem",
|
|
381
|
+
"text-lg": "1rem",
|
|
382
|
+
"text-xl": "1.25rem",
|
|
383
|
+
"text-2xl": "1.5rem",
|
|
384
|
+
"text-3xl": "2.75rem",
|
|
385
|
+
"text-reading": "1rem",
|
|
386
|
+
"text-display": "3.5rem",
|
|
387
|
+
"text-display-sm": "2.125rem",
|
|
388
|
+
"leading-tight": "1.25",
|
|
389
|
+
"leading": "1.6",
|
|
390
|
+
"weight-regular": "400",
|
|
391
|
+
"weight-medium": "500",
|
|
392
|
+
"weight-semibold": "600",
|
|
393
|
+
"tracking-tight": "-0.03em",
|
|
394
|
+
"text-code": "0.84375rem",
|
|
395
|
+
"space-1": "0.25rem",
|
|
396
|
+
"space-2": "0.5rem",
|
|
397
|
+
"space-3": "0.75rem",
|
|
398
|
+
"space-4": "1rem",
|
|
399
|
+
"space-5": "1.25rem",
|
|
400
|
+
"space-6": "1.5rem",
|
|
401
|
+
"space-8": "2rem",
|
|
402
|
+
"space-12": "3rem",
|
|
403
|
+
"space-16": "4rem",
|
|
404
|
+
"space-20": "5rem",
|
|
405
|
+
"space-24": "6rem",
|
|
406
|
+
"control-sm": "2rem",
|
|
407
|
+
"control-md": "2.25rem",
|
|
408
|
+
"control-lg": "2.75rem",
|
|
409
|
+
"row": "2.25rem",
|
|
410
|
+
"measure": "68ch",
|
|
411
|
+
"page-max": "960px",
|
|
412
|
+
"page-wide": "1120px",
|
|
413
|
+
"sidebar": "224px",
|
|
414
|
+
"radius-inline": "6px",
|
|
415
|
+
"radius-control": "999px",
|
|
416
|
+
"radius-panel": "16px",
|
|
417
|
+
"radius-field": "10px",
|
|
418
|
+
"radius-pill": "999px",
|
|
419
|
+
"shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
|
|
420
|
+
"shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
|
|
421
|
+
"shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
|
|
422
|
+
"shadow-dialog": "0 8px 24px rgb(0 0 0 / 45%), 0 0 0 1px #262d33",
|
|
423
|
+
"shadow-nav-current": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
424
|
+
"shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #d1b3c8 18%, transparent)",
|
|
425
|
+
"shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #f0776c 18%, transparent)",
|
|
426
|
+
"duration-fast": "120ms",
|
|
427
|
+
"duration": "180ms",
|
|
428
|
+
"ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"pine": {
|
|
432
|
+
"light": {
|
|
433
|
+
"color-project": "#00543f",
|
|
434
|
+
"color-project-dark": "#3fe0c0",
|
|
435
|
+
"font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
|
|
436
|
+
"font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
|
|
437
|
+
"color-bg": "#f4f5f6",
|
|
438
|
+
"color-surface": "#e9ebed",
|
|
439
|
+
"color-surface-raised": "#fbfbfc",
|
|
440
|
+
"color-surface-muted": "#e2e5e8",
|
|
441
|
+
"color-well": "#e2e5e8",
|
|
442
|
+
"color-field-bg": "#fbfbfc",
|
|
443
|
+
"color-field-edge": "#d3d8dd",
|
|
444
|
+
"shadow-field": "none",
|
|
445
|
+
"color-control-thumb": "#fbfbfc",
|
|
446
|
+
"color-nav-current": "color-mix(in srgb, #00543f 14%, #fbfbfc)",
|
|
447
|
+
"color-nav-current-text": "#00543f",
|
|
448
|
+
"color-segmented-current-text": "#00543f",
|
|
449
|
+
"color-row-hover": "#e2e5e8",
|
|
450
|
+
"color-row-selected": "#fbfbfc",
|
|
451
|
+
"color-border-subtle": "#d3d8dd",
|
|
452
|
+
"color-border": "#6d747b",
|
|
453
|
+
"color-text": "#101315",
|
|
454
|
+
"color-muted": "#50575e",
|
|
455
|
+
"color-overlay": "rgb(0 0 0 / 42%)",
|
|
456
|
+
"color-accent": "#00543f",
|
|
457
|
+
"color-accent-text": "#f4f5f6",
|
|
458
|
+
"color-accent-hover": "#101315",
|
|
459
|
+
"color-button-hover": "color-mix(in srgb, #00543f 85%, #101315)",
|
|
460
|
+
"color-link": "#0b5f7c",
|
|
461
|
+
"color-focus": "#00543f",
|
|
462
|
+
"focus-width": "2px",
|
|
463
|
+
"focus-offset": "3px",
|
|
464
|
+
"color-success": "#157249",
|
|
465
|
+
"color-warning": "#86532e",
|
|
466
|
+
"color-error": "#bd342b",
|
|
467
|
+
"color-info": "#175cd3",
|
|
468
|
+
"color-success-surface": "#d9e5e1",
|
|
469
|
+
"color-warning-surface": "#e7e2de",
|
|
470
|
+
"color-error-surface": "#efe4e4",
|
|
471
|
+
"color-info-surface": "#d9e3f2",
|
|
472
|
+
"color-command-bg": "color-mix(in srgb, #00543f 25%, #101010)",
|
|
473
|
+
"color-command-border": "transparent",
|
|
474
|
+
"color-terminal": "#0a0c0e",
|
|
475
|
+
"color-terminal-text": "#e6e9eb",
|
|
476
|
+
"color-terminal-border": "#2a3036",
|
|
477
|
+
"color-terminal-caption": "#13171a",
|
|
478
|
+
"color-terminal-caption-text": "#c9d0d6",
|
|
479
|
+
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
480
|
+
"color-code": "#e9ebed",
|
|
481
|
+
"color-code-text": "#101315",
|
|
482
|
+
"color-syntax-keyword": "#715b42",
|
|
483
|
+
"color-syntax-string": "#346347",
|
|
484
|
+
"color-syntax-number": "#86532e",
|
|
485
|
+
"color-syntax-comment": "#626772",
|
|
486
|
+
"text-xs": "0.75rem",
|
|
487
|
+
"text-sm": "0.8125rem",
|
|
488
|
+
"text-md": "0.875rem",
|
|
489
|
+
"text-lg": "1rem",
|
|
490
|
+
"text-xl": "1.25rem",
|
|
491
|
+
"text-2xl": "1.5rem",
|
|
492
|
+
"text-3xl": "2.75rem",
|
|
493
|
+
"text-reading": "1rem",
|
|
494
|
+
"text-display": "3.5rem",
|
|
495
|
+
"text-display-sm": "2.125rem",
|
|
496
|
+
"leading-tight": "1.25",
|
|
497
|
+
"leading": "1.6",
|
|
498
|
+
"weight-regular": "400",
|
|
499
|
+
"weight-medium": "500",
|
|
500
|
+
"weight-semibold": "600",
|
|
501
|
+
"tracking-tight": "-0.03em",
|
|
502
|
+
"text-code": "0.84375rem",
|
|
503
|
+
"space-1": "0.25rem",
|
|
504
|
+
"space-2": "0.5rem",
|
|
505
|
+
"space-3": "0.75rem",
|
|
506
|
+
"space-4": "1rem",
|
|
507
|
+
"space-5": "1.25rem",
|
|
508
|
+
"space-6": "1.5rem",
|
|
509
|
+
"space-8": "2rem",
|
|
510
|
+
"space-12": "3rem",
|
|
511
|
+
"space-16": "4rem",
|
|
512
|
+
"space-20": "5rem",
|
|
513
|
+
"space-24": "6rem",
|
|
514
|
+
"control-sm": "2rem",
|
|
515
|
+
"control-md": "2.25rem",
|
|
516
|
+
"control-lg": "2.75rem",
|
|
517
|
+
"row": "2.25rem",
|
|
518
|
+
"measure": "68ch",
|
|
519
|
+
"page-max": "960px",
|
|
520
|
+
"page-wide": "1120px",
|
|
521
|
+
"sidebar": "224px",
|
|
522
|
+
"radius-inline": "6px",
|
|
523
|
+
"radius-control": "999px",
|
|
524
|
+
"radius-panel": "16px",
|
|
525
|
+
"radius-field": "10px",
|
|
526
|
+
"radius-pill": "999px",
|
|
527
|
+
"shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
|
|
528
|
+
"shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
|
|
529
|
+
"shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
|
|
530
|
+
"shadow-dialog": "0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px #d3d8dd",
|
|
531
|
+
"shadow-nav-current": "0 1px 3px rgb(130 142 158 / 40%)",
|
|
532
|
+
"shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #00543f 18%, transparent)",
|
|
533
|
+
"shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #bd342b 18%, transparent)",
|
|
534
|
+
"duration-fast": "120ms",
|
|
535
|
+
"duration": "180ms",
|
|
536
|
+
"ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
|
|
537
|
+
},
|
|
538
|
+
"dark": {
|
|
539
|
+
"color-project": "#3fe0c0",
|
|
540
|
+
"color-project-dark": "#3fe0c0",
|
|
541
|
+
"font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
|
|
542
|
+
"font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
|
|
543
|
+
"color-bg": "#0d1012",
|
|
544
|
+
"color-surface": "#13171a",
|
|
545
|
+
"color-surface-raised": "#181d21",
|
|
546
|
+
"color-surface-muted": "#20262b",
|
|
547
|
+
"color-well": "color-mix(in srgb, #0d1012 87.5%, black)",
|
|
548
|
+
"color-field-bg": "color-mix(in srgb, #0d1012 87.5%, black)",
|
|
549
|
+
"color-field-edge": "#262d33",
|
|
550
|
+
"shadow-field": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
|
|
551
|
+
"color-control-thumb": "color-mix(in srgb, #181d21 88%, white)",
|
|
552
|
+
"color-nav-current": "color-mix(in srgb, #3fe0c0 20%, transparent)",
|
|
553
|
+
"color-nav-current-text": "#3fe0c0",
|
|
554
|
+
"color-segmented-current-text": "#3fe0c0",
|
|
555
|
+
"color-row-hover": "#20262b",
|
|
556
|
+
"color-row-selected": "#181d21",
|
|
557
|
+
"color-border-subtle": "#262d33",
|
|
558
|
+
"color-border": "#78818a",
|
|
559
|
+
"color-text": "#e6e9eb",
|
|
560
|
+
"color-muted": "#9aa3ab",
|
|
561
|
+
"color-overlay": "rgb(0 0 0 / 62%)",
|
|
562
|
+
"color-accent": "#3fe0c0",
|
|
563
|
+
"color-accent-text": "#0d1012",
|
|
564
|
+
"color-accent-hover": "#e6e9eb",
|
|
565
|
+
"color-button-hover": "color-mix(in srgb, #3fe0c0 85%, #e6e9eb)",
|
|
566
|
+
"color-link": "#67c1df",
|
|
567
|
+
"color-focus": "#3fe0c0",
|
|
568
|
+
"focus-width": "2px",
|
|
569
|
+
"focus-offset": "3px",
|
|
570
|
+
"color-success": "#4cc38a",
|
|
571
|
+
"color-warning": "#e2a54b",
|
|
572
|
+
"color-error": "#f0776c",
|
|
573
|
+
"color-info": "#84adff",
|
|
574
|
+
"color-success-surface": "#172d25",
|
|
575
|
+
"color-warning-surface": "#2f281b",
|
|
576
|
+
"color-error-surface": "#312020",
|
|
577
|
+
"color-info-surface": "#202938",
|
|
578
|
+
"color-command-bg": "color-mix(in srgb, #3fe0c0 16%, black)",
|
|
579
|
+
"color-command-border": "color-mix(in srgb, #3fe0c0 28%, black)",
|
|
580
|
+
"color-terminal": "#0a0c0e",
|
|
581
|
+
"color-terminal-text": "#e6e9eb",
|
|
582
|
+
"color-terminal-border": "#2a3036",
|
|
583
|
+
"color-terminal-caption": "#13171a",
|
|
584
|
+
"color-terminal-caption-text": "#c9d0d6",
|
|
585
|
+
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
586
|
+
"color-code": "#13171a",
|
|
587
|
+
"color-code-text": "#e6e9eb",
|
|
588
|
+
"color-syntax-keyword": "#d8c2a5",
|
|
589
|
+
"color-syntax-string": "#a8bd9c",
|
|
590
|
+
"color-syntax-number": "#d5b98c",
|
|
591
|
+
"color-syntax-comment": "#a0a6b1",
|
|
592
|
+
"text-xs": "0.75rem",
|
|
593
|
+
"text-sm": "0.8125rem",
|
|
594
|
+
"text-md": "0.875rem",
|
|
595
|
+
"text-lg": "1rem",
|
|
596
|
+
"text-xl": "1.25rem",
|
|
597
|
+
"text-2xl": "1.5rem",
|
|
598
|
+
"text-3xl": "2.75rem",
|
|
599
|
+
"text-reading": "1rem",
|
|
600
|
+
"text-display": "3.5rem",
|
|
601
|
+
"text-display-sm": "2.125rem",
|
|
602
|
+
"leading-tight": "1.25",
|
|
603
|
+
"leading": "1.6",
|
|
604
|
+
"weight-regular": "400",
|
|
605
|
+
"weight-medium": "500",
|
|
606
|
+
"weight-semibold": "600",
|
|
607
|
+
"tracking-tight": "-0.03em",
|
|
608
|
+
"text-code": "0.84375rem",
|
|
609
|
+
"space-1": "0.25rem",
|
|
610
|
+
"space-2": "0.5rem",
|
|
611
|
+
"space-3": "0.75rem",
|
|
612
|
+
"space-4": "1rem",
|
|
613
|
+
"space-5": "1.25rem",
|
|
614
|
+
"space-6": "1.5rem",
|
|
615
|
+
"space-8": "2rem",
|
|
616
|
+
"space-12": "3rem",
|
|
617
|
+
"space-16": "4rem",
|
|
618
|
+
"space-20": "5rem",
|
|
619
|
+
"space-24": "6rem",
|
|
620
|
+
"control-sm": "2rem",
|
|
621
|
+
"control-md": "2.25rem",
|
|
622
|
+
"control-lg": "2.75rem",
|
|
623
|
+
"row": "2.25rem",
|
|
624
|
+
"measure": "68ch",
|
|
625
|
+
"page-max": "960px",
|
|
626
|
+
"page-wide": "1120px",
|
|
627
|
+
"sidebar": "224px",
|
|
628
|
+
"radius-inline": "6px",
|
|
629
|
+
"radius-control": "999px",
|
|
630
|
+
"radius-panel": "16px",
|
|
631
|
+
"radius-field": "10px",
|
|
632
|
+
"radius-pill": "999px",
|
|
633
|
+
"shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
|
|
634
|
+
"shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
|
|
635
|
+
"shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
|
|
636
|
+
"shadow-dialog": "0 8px 24px rgb(0 0 0 / 45%), 0 0 0 1px #262d33",
|
|
637
|
+
"shadow-nav-current": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
638
|
+
"shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #3fe0c0 18%, transparent)",
|
|
639
|
+
"shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #f0776c 18%, transparent)",
|
|
640
|
+
"duration-fast": "120ms",
|
|
641
|
+
"duration": "180ms",
|
|
642
|
+
"ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
|
|
643
|
+
}
|
|
216
644
|
}
|
|
217
645
|
}
|
|
218
646
|
}
|
package/language/DESIGN.md
CHANGED
|
@@ -39,7 +39,7 @@ Center the **container**, not every sentence. Align header, content, images, and
|
|
|
39
39
|
|
|
40
40
|
## Files and examples
|
|
41
41
|
|
|
42
|
-
- `tokens.css`: the values of the Graphite Indigo
|
|
42
|
+
- `tokens.css`: the values of the default theme, Graphite Indigo, generated from the token source (`tokens/core.json` and `tokens/themes/graphite-indigo.json`) in `@filipgutica/design-system`. Other themes ship as `themes/<id>.css`, which set only the identity inputs; load one after `tokens.css`, on `:root`. To change a value, edit the JSON there and run `pnpm tokens:build`; do not edit `tokens.css` by hand. The identity inputs sit in one block at the top. Each line's `ui:` comment lists the library variables that carry that value, the line's own name first.
|
|
43
43
|
- `components.md`: one spec for each component, with anatomy, states, Do and Don't lines, keyboard and screen-reader behavior, motion, and forced colors. Read it for any component work.
|
|
44
44
|
- `components.html`: every component in each of its states, in plain HTML and CSS on `tokens.css`. Copy component markup and styles from there.
|
|
45
45
|
- `decisions.md`: the choices behind the components, and the options they replaced.
|
|
@@ -131,7 +131,7 @@ Controls use quiet depth and familiar shapes: borderless surfaces with one tight
|
|
|
131
131
|
| --- | --- | --- | --- |
|
|
132
132
|
| Acts, or sets a value in place with every option shown, on one line | Pill | `--radius-control` | Buttons other than the labelled contents trigger and its no-JavaScript summary, quiet actions other than the project-menu trigger, and segmented controls with their thumbs |
|
|
133
133
|
| Small state mark | Pill | `--radius-pill` | Status badges, switch tracks and knobs, slider and progress tracks, score pips, and the in-page location pip |
|
|
134
|
-
| A place, or a row you pick | 6px | `--radius-inline` | Navigation rows outside a floating menu, group labels, breadcrumb links, tabs, list rows, checkboxes, and keyboard keys |
|
|
134
|
+
| A place, or a row you pick | 6px | `--radius-inline` | Navigation rows outside a floating menu, group labels, breadcrumb links, the site name link, tabs, list rows, checkboxes, and keyboard keys |
|
|
135
135
|
| Something you type in, a control whose label wraps, or a one-line control that is not an action | 10px | `--radius-field` | Inputs, textareas, search fields, toggle cards, pager links, and one-line controls that are not actions: the select, the project-menu trigger, the labelled contents trigger and its no-JavaScript summary, and the skip link |
|
|
136
136
|
| Holds other things | 16px | `--radius-panel` | Wells, plates, panels, cards, radio cards, alerts, code blocks, example frames, and floating layers |
|
|
137
137
|
|
|
@@ -182,7 +182,7 @@ Each depth tier has one token. [`tokens.css`](tokens.css) holds every shadow val
|
|
|
182
182
|
| Local | Which page of this site? | Section rail, or a navigation strip of 6 links or fewer | `aria-current="page"`: the lifted fill |
|
|
183
183
|
| In-page | Where am I on this page? | Section rail rows that point to `#id` | `aria-current="location"`: the lifted fill in a rail, a pip in strips and contents lists |
|
|
184
184
|
| Sequential | What comes next? | Pager | `rel="prev"` and `rel="next"` |
|
|
185
|
-
| Path | How do I get back up? | Breadcrumbs
|
|
185
|
+
| Path | How do I get back up? | Breadcrumbs above the page title, on every page below the site's home page; never in the header | The current page as text with `aria-current="page"` |
|
|
186
186
|
| Find | Where is X? | Find field that filters the rail | A live match count |
|
|
187
187
|
|
|
188
188
|
- **`aria-current`.**
|
|
@@ -237,7 +237,7 @@ The personal sites are terminal tools that read Markdown and paths, so their ide
|
|
|
237
237
|
- **Mono identity.** `--font-mono` (IBM Plex Mono) sets identity, the page titles and section headings of documentation, CLI tool, article, and product pages, navigation rails, metadata, captions, and the footer. `@filipgutica/ui` self-hosts IBM Plex; elsewhere the tokens fall back to the system stack.
|
|
238
238
|
- **Headings.** Documentation, CLI tool, article, and product page titles are mono; application titles are `--font-ui`. Page-level section headings (h2) on documentation, CLI tool, article, and product pages are mono, start with a `##` mark in `--color-accent` (decorative, so screen readers skip it), and have a `--color-border-subtle` rule above the section. Application and inline-visualization section headings, and every h3 or lower, are plain `--font-ui` with no mark. Product pages and tool homes may use a mono `--text-display` title, stepping down to `--text-display-sm` on phones; keep a short heading measure, place supporting copy and the primary action nearby, and let the first product image enter the initial desktop viewport.
|
|
239
239
|
- **Hue marks.** The hue also draws the `~/` header mark, the `##` mark on documentation, CLI tool, article, and product section headings, step numbers, and the `$` prompt.
|
|
240
|
-
- **Header.** Personal product sites share a compact static header: a mono `~/name` identity with the `~/` in `--color-accent`, a project switcher, useful page links, appearance controls, and a solid `--color-text` rule below. Use the shared project registry for names, order, and destinations. Keep a gallery's existing application navigation structure.
|
|
240
|
+
- **Header.** Personal product sites share a compact static header: a mono `~/name` identity with the `~/` in `--color-accent`, a project switcher, useful page links, appearance controls, and a solid `--color-text` rule below. Use the shared project registry for names, order, and destinations. The identity is the same on every page, and the links sit at the same x on every page; the page's path goes in [breadcrumbs](components.md#breadcrumbs) above its title. Keep a gallery's existing application navigation structure.
|
|
241
241
|
- **Appearance.** Personal pages share the built-in System/Light/Dark choice, through the header's picker. An explicitly selected custom gallery theme overrides that choice until the reader selects a built-in appearance. Preserve installed themes.
|
|
242
242
|
- **Terminal plates.** Commands sit on a dark plate tinted with the project hue (`--color-command-bg`), in both themes. A shell command gets a `$` prompt in `--color-project-dark`, drawn by CSS so it never enters copied or accessible text. Short commands use a headerless compact row with an accessible Copy control. Terminal captures keep the neutral `--color-terminal` plate, with a mono status-line caption below the screen; tabs on a capture switch to mono.
|
|
243
243
|
- **Steps.** A real sequence is an ordered list with mono numbers in `--color-accent` on a ruled leading column, an h3 title per step, and an optional result note on the last step.
|