@hattisar/design-tokens 0.3.24 → 0.3.25

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tokens.css +20 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hattisar/design-tokens",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "Shared design tokens (colors, type, radius, spacing, motion) and base primitives (reset, buttons, inputs, cards, modals, auth shell) for every Hattisar frontend.",
5
5
  "main": "tokens.css",
6
6
  "files": [
package/tokens.css CHANGED
@@ -33,7 +33,11 @@
33
33
  to equal background-global exactly, which meant hover states had
34
34
  no visible target to land on. */
35
35
  --color-background-global: #f4f4f5;
36
+ /* The frame the routed page sits in: white in light, the canvas in dark. */
37
+ --color-background-page: #ffffff;
36
38
  --color-background-card: #ffffff;
39
+ /* Table column-header band: a step lighter than the hover tint. */
40
+ --color-table-header: #f7f7f7;
37
41
  --color-surface-tint: #e8e8ea;
38
42
  --color-input: #ffffff;
39
43
  --color-text-primary: #09090b;
@@ -409,11 +413,11 @@
409
413
  Body moves 14.5 -> 14: at Inter's x-height 14px is the more
410
414
  comfortable long-session size, and it buys back the density the
411
415
  roomier spacing below spends. */
412
- --text-xs: 11.5px;
413
- --text-sm: 13px;
414
- --text-base: 14px;
415
- --text-md: 15px;
416
- --text-lg: 17px;
416
+ --text-xs: 11px;
417
+ --text-sm: 12px;
418
+ --text-base: 13px;
419
+ --text-md: 14px;
420
+ --text-lg: 16px;
417
421
  --text-xl: 20px;
418
422
  --text-2xl: 24px;
419
423
  --text-3xl: 30px;
@@ -457,11 +461,11 @@
457
461
  (so a theme change re-tints all of them from one pair of tokens). */
458
462
  --sidebar-bg: var(--color-text-primary);
459
463
  --sidebar-active-text: var(--color-background-card);
460
- --sidebar-text: color-mix(in srgb, var(--sidebar-active-text) 88%, var(--sidebar-bg));
461
- --sidebar-text-muted: color-mix(in srgb, var(--sidebar-active-text) 70%, var(--sidebar-bg));
464
+ --sidebar-text: color-mix(in srgb, var(--sidebar-active-text) 86%, var(--sidebar-bg));
465
+ --sidebar-text-muted: color-mix(in srgb, var(--sidebar-active-text) 65%, var(--sidebar-bg));
462
466
  /* Hover (and the current row's fill), the dividers, and the search /
463
467
  input fill: a veil of the ink over the chrome. */
464
- --sidebar-hover-bg: color-mix(in srgb, var(--sidebar-active-text) 10%, transparent);
468
+ --sidebar-hover-bg: color-mix(in srgb, var(--sidebar-active-text) 19%, transparent);
465
469
  --sidebar-border: color-mix(in srgb, var(--sidebar-active-text) 14%, transparent);
466
470
  --sidebar-input-bg: var(--sidebar-hover-bg);
467
471
  /* The row you are on: the full ink on the same fill hover uses, the
@@ -477,6 +481,8 @@
477
481
  /* Sidebar and popout dimensions, named once. */
478
482
  --sidebar-icon-size: 20px;
479
483
  --sidebar-control-height: 36px;
484
+ --sidebar-item-height: 30px;
485
+ --sidebar-item-weight: 450;
480
486
  --sidebar-badge-size: 22px;
481
487
  --sidebar-avatar-size: 28px;
482
488
  --popout-min-width: 180px;
@@ -488,7 +494,7 @@
488
494
  matched (to the nearest round number) against a reference
489
495
  layout's own sidebar width, the same reason --header-height above
490
496
  moved too. */
491
- --sidebar-width: 260px;
497
+ --sidebar-width: 220px;
492
498
  --sidebar-width-collapsed: 56px;
493
499
  --sidebar-height: calc(100vh - var(--header-height));
494
500
 
@@ -550,7 +556,9 @@
550
556
  dramatic jump) plus real borders is what keeps a dark theme
551
557
  reading crisp instead of washed out — see --color-border below. */
552
558
  --color-background-global: #09090b;
559
+ --color-background-page: #09090b;
553
560
  --color-background-card: #18181b;
561
+ --color-table-header: #27272a;
554
562
  --color-surface-tint: #27272a;
555
563
  --color-input: var(--color-background-card);
556
564
  /* Not pure white — pure white text on a near-black surface causes
@@ -684,7 +692,10 @@
684
692
  alone would lose to a dark attribute set higher up. */
685
693
  [data-theme="light"] {
686
694
  --color-background-global: #f4f4f5;
695
+ --color-background-page: #ffffff;
687
696
  --color-background-card: #ffffff;
697
+ /* Table column-header band: a step lighter than the hover tint. */
698
+ --color-table-header: #f7f7f7;
688
699
  --color-surface-tint: #e8e8ea;
689
700
  --color-input: #ffffff;
690
701
  --color-text-primary: #09090b;