@mindlogic-ai/logician-ui 5.0.0-alpha.16 → 5.0.0-alpha.18

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 (48) hide show
  1. package/dist/components/CodeTabs/CodeTabs.styles.d.ts +6 -5
  2. package/dist/components/CodeTabs/CodeTabs.styles.d.ts.map +1 -1
  3. package/dist/components/CodeTabs/CodeTabs.styles.js +6 -5
  4. package/dist/components/CodeTabs/CodeTabs.styles.js.map +1 -1
  5. package/dist/components/CodeTabs/CodeTabs.styles.mjs +6 -5
  6. package/dist/components/CodeTabs/CodeTabs.styles.mjs.map +1 -1
  7. package/dist/components/NavList/NavList.styles.d.ts +2 -2
  8. package/dist/components/NavList/NavList.styles.js +2 -2
  9. package/dist/components/NavList/NavList.styles.mjs +2 -2
  10. package/dist/components/NavList/NavListItem.d.ts.map +1 -1
  11. package/dist/components/NavList/NavListItem.js +19 -8
  12. package/dist/components/NavList/NavListItem.js.map +1 -1
  13. package/dist/components/NavList/NavListItem.mjs +19 -8
  14. package/dist/components/NavList/NavListItem.mjs.map +1 -1
  15. package/dist/components/Tabs/Tab/Tab.styles.d.ts +1 -1
  16. package/dist/components/Tabs/Tab/Tab.styles.js +1 -1
  17. package/dist/components/Tabs/Tab/Tab.styles.mjs +1 -1
  18. package/dist/components/Toast/Toast.styles.d.ts +1 -1
  19. package/dist/components/Toast/Toast.styles.js +1 -1
  20. package/dist/components/Toast/Toast.styles.mjs +1 -1
  21. package/dist/theme/colors.d.ts.map +1 -1
  22. package/dist/theme/colors.js +17 -16
  23. package/dist/theme/colors.js.map +1 -1
  24. package/dist/theme/colors.mjs +17 -16
  25. package/dist/theme/colors.mjs.map +1 -1
  26. package/dist/theme/global.js +1 -1
  27. package/dist/theme/global.mjs +1 -1
  28. package/dist/theme/palette.generated.d.ts +128 -125
  29. package/dist/theme/palette.generated.d.ts.map +1 -1
  30. package/dist/theme/palette.generated.js +128 -125
  31. package/dist/theme/palette.generated.js.map +1 -1
  32. package/dist/theme/palette.generated.mjs +128 -125
  33. package/dist/theme/palette.generated.mjs.map +1 -1
  34. package/package.json +1 -1
  35. package/src/components/CodeTabs/CodeTabs.styles.ts +6 -5
  36. package/src/components/LineGraph/seriesColors.test.ts +4 -4
  37. package/src/components/NavList/NavList.stories.tsx +32 -0
  38. package/src/components/NavList/NavList.styles.ts +2 -2
  39. package/src/components/NavList/NavList.test.tsx +24 -0
  40. package/src/components/NavList/NavListItem.tsx +22 -9
  41. package/src/components/Tabs/Tab/Tab.styles.ts +1 -1
  42. package/src/components/Toast/Toast.styles.ts +1 -1
  43. package/src/theme/SemanticTokens.mdx +1 -1
  44. package/src/theme/claude.md +8 -0
  45. package/src/theme/colors.ts +18 -11
  46. package/src/theme/global.ts +1 -1
  47. package/src/theme/palette.generated.ts +128 -125
  48. package/src/theme/paletteSwatches.test.ts +1 -1
@@ -398,18 +398,31 @@ export const NavListItem = forwardRef<HTMLElement, NavListItemProps>(
398
398
  typeof label === 'string' || typeof label === 'number'
399
399
  ? String(label)
400
400
  : undefined;
401
+ // Beside the icon, towards the content: the rail is on the right of
402
+ // a right-to-left page. Popper placements are physical.
403
+ const placement =
404
+ isCollapsed || tooltipPlacement === 'end'
405
+ ? tooltipDir === 'rtl'
406
+ ? 'left'
407
+ : 'right'
408
+ : 'top';
409
+ // An expanded row's end tooltip measures from the whole `<li>`, not the
410
+ // row link: with a trailing action the link stops short of the row's
411
+ // end, and the tooltip would sit over the action.
412
+ const anchorsToItem = !isCollapsed && tooltipPlacement === 'end';
401
413
  const withTooltip = (
402
414
  <Tooltip
403
415
  content={tooltipContent}
404
- // Beside the icon, towards the content: the rail is on the right of
405
- // a right-to-left page. Popper placements are physical.
406
- placement={
407
- isCollapsed || tooltipPlacement === 'end'
408
- ? tooltipDir === 'rtl'
409
- ? 'left'
410
- : 'right'
411
- : 'top'
412
- }
416
+ placement={placement}
417
+ {...(anchorsToItem && {
418
+ positioning: {
419
+ placement,
420
+ getAnchorRect: (el) =>
421
+ el instanceof HTMLElement
422
+ ? (el.closest('li')?.getBoundingClientRect() ?? null)
423
+ : null,
424
+ },
425
+ })}
413
426
  onOpenChange={({ open }) => setIsTooltipOpen(open)}
414
427
  // Zag only checks that this is set — it takes the content's id and
415
428
  // role away, so the trigger is never described by the tooltip. Not
@@ -31,7 +31,7 @@ export const verticalStyles = {
31
31
  * The indicator moves with the label, EXCEPT on 5.0's BAZE palette: the
32
32
  * indicator is a 2px underline — a GRAPHIC judged at 3:1, not text at 4.5:1 —
33
33
  * so it reads the brand accent `primary.main` directly (black in light, the
34
- * inverted cream fill in dark), matching the house gallery spec. The label
34
+ * inverted off-white fill in dark), matching the house gallery spec. The label
35
35
  * stays on `fg.emphasized` (= `fg.default`): it is still a PLACE, not a
36
36
  * value, and `primary.main` in dark mode is a solid-fill colour tuned for a
37
37
  * button face under `fg.onPrimary`, not for text on the page.
@@ -11,7 +11,7 @@ import type { ToastStatus } from './Toast.types';
11
11
  * inverted: the tooltip pair `tooltip.bg` / `tooltip.fg`. A `bg.surface` toast
12
12
  * was white on a white canvas in light mode, set apart only by a 1px border
13
13
  * and the shadow — a "링크를 복사했어요" confirmation was easy to miss. The
14
- * tooltip pair already flips per mode (ink in light, cream in dark), so the
14
+ * tooltip pair already flips per mode (ink in light, off-white in dark), so the
15
15
  * toast stays the highest-contrast thing on the page in both.
16
16
  */
17
17
  export const toastStyles: Record<ToastStatus, BoxProps> = {
@@ -116,7 +116,7 @@ usage total) keeps `data.*`, even if some bars are small.
116
116
  | `diverging.pos.3` (far above) | `#2C5D91` · white label | `#A9C7EB` · ink label |
117
117
  | `diverging.pos.2` | `#5890CD` · ink label | `#5890CD` · ink label |
118
118
  | `diverging.pos.1` (just above) | `#A9C7EB` · ink label | `#2C5D91` · white label |
119
- | `diverging.mid` (at the baseline) | `#EDE9E2` (`neutral.3`) · ink label | `#38332E` (`neutral.3`) · white label |
119
+ | `diverging.mid` (at the baseline) | `#EDE9E2` (`neutral.3`) · ink label | `#2E2F2F` (`neutral.3`) · white label |
120
120
  | `diverging.neg.1` (just below) | `#E4BBA0` · ink label | `#85491A` · white label |
121
121
  | `diverging.neg.2` | `#BF7946` · **no in-cell label**; label outside the mark | `#BF7946` · **no in-cell label**; label outside the mark |
122
122
  | `diverging.neg.3` (far below) | `#85491A` · white label | `#E4BBA0` · ink label |
@@ -153,6 +153,14 @@ is the maintainer's view.
153
153
  designer prototype (OKLCH, contrast-targeted steps) and `--check`s it against
154
154
  `scripts/palette/reference.json`. Change a value there, regenerate, commit
155
155
  `palette.generated.ts`. Never hand-edit the generated file.
156
+ - **Dark mode is a neutral charcoal**, not the prototype's warm dark ramp
157
+ (re-tuned 2026-10-27; light is still the prototype). `inkDark` steps 1–7
158
+ hold chroma ≤ 0.003 and only the text steps keep a trace of warmth
159
+ (≤ 0.008); the canvas is `#171717`; body text is its own anchor
160
+ (`fgDark`, ≈ 14:1; HC dark `fgHcDark`, ≈ 16:1), not cream; dark
161
+ `action.fg` uses the same anchor. HC dark `fg.muted` is the OKLCH midpoint
162
+ of `fg.subtle` and `fg.default`, so the three text levels stay distinct. A warm tint that is invisible in light
163
+ reads as sepia on a dark ground — keep new dark values near-neutral.
156
164
  - **High contrast** (`prefers-contrast: more`): a role whose HC value differs
157
165
  reads an internal helper `scheme.light.*` / `scheme.dark.*` (`{ base,
158
166
  _moreContrast }`) because Chakra cannot nest `_dark` inside `_moreContrast`
@@ -96,17 +96,25 @@ function rampTokens(
96
96
  return out;
97
97
  }
98
98
 
99
+ /** Brand anchor (generator name) → raw token: `{name}.key` or `{name}Dark.key`. */
100
+ const ANCHOR_TOKENS = [
101
+ ['cream', 'light', 'cream'],
102
+ ['press', 'light', 'press'],
103
+ ['fgDark', 'dark', 'fg'],
104
+ ['primaryDark', 'dark', 'primary'],
105
+ ['primaryHoverDark', 'dark', 'primaryHover'],
106
+ ['pressDark', 'dark', 'press'],
107
+ ] as const;
108
+
99
109
  function scaleTokens(name: 'ink' | 'sand' | 'slate') {
100
110
  const r = RAMPS[name];
101
- const a = r.anchors as Partial<
102
- Record<'cream' | 'press' | 'primaryDark' | 'pressDark', string>
103
- >;
111
+ const a = r.anchors as Record<string, string | undefined>;
104
112
  const light: Record<string, string> = {};
105
113
  const dark: Record<string, string> = { canvas: r.canvasDark };
106
- if (a.cream) light.cream = a.cream;
107
- if (a.press) light.press = a.press;
108
- if (a.primaryDark) dark.primary = a.primaryDark;
109
- if (a.pressDark) dark.press = a.pressDark;
114
+ for (const [anchor, mode, key] of ANCHOR_TOKENS) {
115
+ const hex = a[anchor];
116
+ if (hex) (mode === 'light' ? light : dark)[key] = hex;
117
+ }
110
118
  return {
111
119
  [name]: rampTokens(r.light, light),
112
120
  [`${name}Dark`]: rampTokens(r.dark, dark),
@@ -265,10 +273,9 @@ function buildRefIndex(neutral: NeutralScale, secondary: SecondaryScale) {
265
273
  for (const s of STEPS) add(RAMPS[name].dark[s], `${name}Dark.${s}`);
266
274
  add(RAMPS[name].canvasDark, `${name}Dark.canvas`);
267
275
  const a = RAMPS[name].anchors as Record<string, string>;
268
- if (a.cream) add(a.cream, `${name}.cream`);
269
- if (a.press) add(a.press, `${name}.press`);
270
- if (a.primaryDark) add(a.primaryDark, `${name}Dark.primary`);
271
- if (a.pressDark) add(a.pressDark, `${name}Dark.press`);
276
+ for (const [anchor, mode, key] of ANCHOR_TOKENS)
277
+ if (a[anchor])
278
+ add(a[anchor], `${name}${mode === 'dark' ? 'Dark' : ''}.${key}`);
272
279
  };
273
280
  addScale(neutral);
274
281
  addScale(secondary);
@@ -35,7 +35,7 @@ export const globalCss = defineGlobalStyles({
35
35
  },
36
36
 
37
37
  'html, body': {
38
- // Mode-aware primary text (neutral.11 light / cream dark).
38
+ // Mode-aware primary text (neutral.11 light / off-white dark).
39
39
  color: 'fg.default',
40
40
  },
41
41
 
@@ -20,25 +20,28 @@ export const RAMPS = {
20
20
  "12": "#171615"
21
21
  },
22
22
  "dark": {
23
- "1": "#282622",
24
- "2": "#302D28",
25
- "3": "#38332E",
26
- "4": "#3F3B34",
27
- "5": "#48443E",
28
- "6": "#57524B",
29
- "7": "#716C66",
30
- "8": "#8F8982",
31
- "9": "#B2ACA5",
32
- "10": "#D3CDC4",
33
- "11": "#ECE2D5",
34
- "12": "#FCF2E3"
23
+ "1": "#202020",
24
+ "2": "#282828",
25
+ "3": "#2E2F2F",
26
+ "4": "#363636",
27
+ "5": "#3F403F",
28
+ "6": "#4E4E4D",
29
+ "7": "#696866",
30
+ "8": "#868481",
31
+ "9": "#A9A6A3",
32
+ "10": "#C9C6C1",
33
+ "11": "#DFDBD6",
34
+ "12": "#EEEBE5"
35
35
  },
36
- "canvasDark": "#1F1E1D",
36
+ "canvasDark": "#171717",
37
37
  "anchors": {
38
38
  "cream": "#F5EDE0",
39
39
  "press": "#2E2A25",
40
- "primaryDark": "#E3D7C4",
41
- "pressDark": "#D6C8B2"
40
+ "fgDark": "#E8E6E3",
41
+ "fgHcDark": "#F2F0ED",
42
+ "primaryDark": "#D6D3CD",
43
+ "primaryHoverDark": "#EBE8E3",
44
+ "pressDark": "#C5C2BC"
42
45
  }
43
46
  },
44
47
  "sand": {
@@ -57,20 +60,20 @@ export const RAMPS = {
57
60
  "12": "#1D150A"
58
61
  },
59
62
  "dark": {
60
- "1": "#2A2620",
61
- "2": "#342C24",
62
- "3": "#3B332A",
63
- "4": "#44392E",
64
- "5": "#4F4334",
65
- "6": "#644F39",
66
- "7": "#81694C",
67
- "8": "#A18565",
68
- "9": "#C4A989",
69
- "10": "#E2CAAE",
70
- "11": "#F3E1CC",
71
- "12": "#FFF1E3"
63
+ "1": "#22201D",
64
+ "2": "#2B2724",
65
+ "3": "#322E29",
66
+ "4": "#3B3530",
67
+ "5": "#453F38",
68
+ "6": "#554D44",
69
+ "7": "#71665B",
70
+ "8": "#8F8374",
71
+ "9": "#B3A595",
72
+ "10": "#D2C4B5",
73
+ "11": "#E5DACE",
74
+ "12": "#F1EAE1"
72
75
  },
73
- "canvasDark": "#1F1E1D",
76
+ "canvasDark": "#171717",
74
77
  "anchors": {}
75
78
  },
76
79
  "slate": {
@@ -358,46 +361,46 @@ export const SCHEMES = {
358
361
  "border-control": "#8F8A82"
359
362
  },
360
363
  "dark": {
361
- "bg-canvas": "#1F1E1D",
362
- "layer-1": "#302D28",
363
- "layer-1-hover": "#38332E",
364
- "layer-1-active": "#3F3B34",
365
- "layer-2": "#3F3B34",
366
- "layer-2-hover": "#48443E",
367
- "layer-2-active": "#57524B",
368
- "layer-3": "#48443E",
369
- "layer-3-hover": "#57524B",
370
- "layer-3-active": "#716C66",
371
- "bg-subtle": "#282622",
372
- "bg-surface": "#302D28",
373
- "bg-muted": "#38332E",
374
- "border-subtle": "#3F3B34",
375
- "border-default": "#48443E",
376
- "border-strong": "#57524B",
377
- "fg-default": "#F5EDE0",
378
- "fg-muted": "#D3CDC4",
379
- "fg-subtle": "#B7B1AA",
380
- "fg-icon": "#958F88",
381
- "fg-placeholder": "#99938C",
364
+ "bg-canvas": "#171717",
365
+ "layer-1": "#282828",
366
+ "layer-1-hover": "#2E2F2F",
367
+ "layer-1-active": "#363636",
368
+ "layer-2": "#363636",
369
+ "layer-2-hover": "#3F403F",
370
+ "layer-2-active": "#4E4E4D",
371
+ "layer-3": "#3F403F",
372
+ "layer-3-hover": "#4E4E4D",
373
+ "layer-3-active": "#696866",
374
+ "bg-subtle": "#202020",
375
+ "bg-surface": "#282828",
376
+ "bg-muted": "#2E2F2F",
377
+ "border-subtle": "#363636",
378
+ "border-default": "#3F403F",
379
+ "border-strong": "#4E4E4D",
380
+ "fg-default": "#E8E6E3",
381
+ "fg-muted": "#C9C6C1",
382
+ "fg-subtle": "#ADAAA7",
383
+ "fg-icon": "#8C8A87",
384
+ "fg-placeholder": "#908E8B",
382
385
  "fg-onPrimary": "#252525",
383
- "primary-main": "#E3D7C4",
384
- "primary-hover": "#F5EDE0",
385
- "primary-active": "#D6C8B2",
386
- "primary-wash": "#302D28",
387
- "primary-washActive": "#38332E",
388
- "primary-selected": "#48443E",
389
- "secondary-surface": "#3B332A",
390
- "secondary-surfaceStrong": "#44392E",
391
- "secondary-border": "#644F39",
392
- "secondary-fg": "#C4A989",
393
- "secondary-fgStrong": "#E2CAAE",
386
+ "primary-main": "#D6D3CD",
387
+ "primary-hover": "#EBE8E3",
388
+ "primary-active": "#C5C2BC",
389
+ "primary-wash": "#282828",
390
+ "primary-washActive": "#2E2F2F",
391
+ "primary-selected": "#3F403F",
392
+ "secondary-surface": "#322E29",
393
+ "secondary-surfaceStrong": "#3B3530",
394
+ "secondary-border": "#554D44",
395
+ "secondary-fg": "#B3A595",
396
+ "secondary-fgStrong": "#D2C4B5",
394
397
  "action-mark": "#FF8680",
395
398
  "action-iconOnSolid": "#FF8680",
396
- "action-bg": "#38332E",
397
- "action-bgHover": "#3F3B34",
398
- "action-bgActive": "#302D28",
399
- "action-fg": "#FFFFFF",
400
- "action-border": "#716C66",
399
+ "action-bg": "#2E2F2F",
400
+ "action-bgHover": "#363636",
401
+ "action-bgActive": "#282828",
402
+ "action-fg": "#E8E6E3",
403
+ "action-border": "#696866",
401
404
  "send-bg": "#EE8580",
402
405
  "send-bgHover": "#F79A95",
403
406
  "send-bgActive": "#DC766F",
@@ -409,7 +412,7 @@ export const SCHEMES = {
409
412
  "disabled-fgGhost": "#4A4A4A",
410
413
  "fg-link": "#AFC7E1",
411
414
  "fg-linkHover": "#8BB7E3",
412
- "focus": "#E3D7C4",
415
+ "focus": "#D6D3CD",
413
416
  "danger-bg": "#47211E",
414
417
  "danger-border": "#6E3530",
415
418
  "danger-fg": "#F5B9B6",
@@ -432,9 +435,9 @@ export const SCHEMES = {
432
435
  "info-fg": "#8BB7E3",
433
436
  "info-solid": "#6892BD",
434
437
  "info-onSolid": "#1B1B1B",
435
- "tooltip-bg": "#E3D7C4",
438
+ "tooltip-bg": "#D6D3CD",
436
439
  "tooltip-fg": "#252525",
437
- "track": "#48443E",
440
+ "track": "#3F403F",
438
441
  "data-1": "#232F3D",
439
442
  "data-2": "#48607A",
440
443
  "data-3": "#7492B3",
@@ -445,8 +448,8 @@ export const SCHEMES = {
445
448
  "diverging-neg-1": "#85491A",
446
449
  "diverging-neg-2": "#BF7946",
447
450
  "diverging-neg-3": "#E4BBA0",
448
- "diverging-mid": "#38332E",
449
- "border-control": "#948F87"
451
+ "diverging-mid": "#2E2F2F",
452
+ "border-control": "#8A8A88"
450
453
  },
451
454
  "hcLight": {
452
455
  "bg-canvas": "#FFFFFF",
@@ -540,46 +543,46 @@ export const SCHEMES = {
540
543
  "border-control": "#726D65"
541
544
  },
542
545
  "hcDark": {
543
- "bg-canvas": "#1F1E1D",
544
- "layer-1": "#302D28",
545
- "layer-1-hover": "#38332E",
546
- "layer-1-active": "#3F3B34",
547
- "layer-2": "#3F3B34",
548
- "layer-2-hover": "#48443E",
549
- "layer-2-active": "#57524B",
550
- "layer-3": "#48443E",
551
- "layer-3-hover": "#57524B",
552
- "layer-3-active": "#716C66",
553
- "bg-subtle": "#282622",
554
- "bg-surface": "#302D28",
555
- "bg-muted": "#38332E",
556
- "border-subtle": "#3F3B34",
557
- "border-default": "#938F88",
558
- "border-strong": "#57524B",
559
- "fg-default": "#F5EDE0",
560
- "fg-muted": "#E1DBD2",
561
- "fg-subtle": "#E1DBD3",
562
- "fg-icon": "#B7B0A9",
563
- "fg-placeholder": "#BFB9B2",
546
+ "bg-canvas": "#171717",
547
+ "layer-1": "#282828",
548
+ "layer-1-hover": "#2E2F2F",
549
+ "layer-1-active": "#363636",
550
+ "layer-2": "#363636",
551
+ "layer-2-hover": "#3F403F",
552
+ "layer-2-active": "#4E4E4D",
553
+ "layer-3": "#3F403F",
554
+ "layer-3-hover": "#4E4E4D",
555
+ "layer-3-active": "#696866",
556
+ "bg-subtle": "#202020",
557
+ "bg-surface": "#282828",
558
+ "bg-muted": "#2E2F2F",
559
+ "border-subtle": "#363636",
560
+ "border-default": "#898A89",
561
+ "border-strong": "#4E4E4D",
562
+ "fg-default": "#F2F0ED",
563
+ "fg-muted": "#E5E2DC",
564
+ "fg-subtle": "#D7D3D0",
565
+ "fg-icon": "#ADAAA7",
566
+ "fg-placeholder": "#B5B3B0",
564
567
  "fg-onPrimary": "#252525",
565
- "primary-main": "#E3D7C4",
566
- "primary-hover": "#F5EDE0",
567
- "primary-active": "#D6C8B2",
568
- "primary-wash": "#302D28",
569
- "primary-washActive": "#38332E",
570
- "primary-selected": "#48443E",
571
- "secondary-surface": "#3B332A",
572
- "secondary-surfaceStrong": "#44392E",
573
- "secondary-border": "#644F39",
574
- "secondary-fg": "#F3D7B6",
575
- "secondary-fgStrong": "#E2CAAE",
576
- "action-mark": "#FF938C",
568
+ "primary-main": "#D6D3CD",
569
+ "primary-hover": "#EBE8E3",
570
+ "primary-active": "#C5C2BC",
571
+ "primary-wash": "#282828",
572
+ "primary-washActive": "#2E2F2F",
573
+ "primary-selected": "#3F403F",
574
+ "secondary-surface": "#322E29",
575
+ "secondary-surfaceStrong": "#3B3530",
576
+ "secondary-border": "#554D44",
577
+ "secondary-fg": "#E1D2C1",
578
+ "secondary-fgStrong": "#D2C4B5",
579
+ "action-mark": "#FF8882",
577
580
  "action-iconOnSolid": "#FF8680",
578
- "action-bg": "#38332E",
579
- "action-bgHover": "#3F3B34",
580
- "action-bgActive": "#302D28",
581
- "action-fg": "#FFFFFF",
582
- "action-border": "#716C66",
581
+ "action-bg": "#2E2F2F",
582
+ "action-bgHover": "#363636",
583
+ "action-bgActive": "#282828",
584
+ "action-fg": "#F2F0ED",
585
+ "action-border": "#696866",
583
586
  "send-bg": "#FC928C",
584
587
  "send-bgHover": "#F79A95",
585
588
  "send-bgActive": "#FC938B",
@@ -589,9 +592,9 @@ export const SCHEMES = {
589
592
  "disabled-bg": "#2C2C2C",
590
593
  "disabled-fg": "#737373",
591
594
  "disabled-fgGhost": "#4A4A4A",
592
- "fg-link": "#C6DEF9",
593
- "fg-linkHover": "#B4E2FF",
594
- "focus": "#E3D7C4",
595
+ "fg-link": "#BED7F1",
596
+ "fg-linkHover": "#ACD9FF",
597
+ "focus": "#D6D3CD",
595
598
  "danger-bg": "#47211E",
596
599
  "danger-border": "#A2645D",
597
600
  "danger-fg": "#F5B9B6",
@@ -614,9 +617,9 @@ export const SCHEMES = {
614
617
  "info-fg": "#92BFEB",
615
618
  "info-solid": "#7FAAD6",
616
619
  "info-onSolid": "#1B1B1B",
617
- "tooltip-bg": "#E3D7C4",
620
+ "tooltip-bg": "#D6D3CD",
618
621
  "tooltip-fg": "#252525",
619
- "track": "#48443E",
622
+ "track": "#3F403F",
620
623
  "data-1": "#232F3D",
621
624
  "data-2": "#48607A",
622
625
  "data-3": "#7492B3",
@@ -627,8 +630,8 @@ export const SCHEMES = {
627
630
  "diverging-neg-1": "#85491A",
628
631
  "diverging-neg-2": "#BF7946",
629
632
  "diverging-neg-3": "#E4BBA0",
630
- "diverging-mid": "#38332E",
631
- "border-control": "#B6B1A9"
633
+ "diverging-mid": "#2E2F2F",
634
+ "border-control": "#ABABA9"
632
635
  }
633
636
  },
634
637
  "slate": {
@@ -752,11 +755,11 @@ export const SCHEMES = {
752
755
  "primary-wash": "#2A2E35",
753
756
  "primary-washActive": "#30343C",
754
757
  "primary-selected": "#40454E",
755
- "secondary-surface": "#3B332A",
756
- "secondary-surfaceStrong": "#44392E",
757
- "secondary-border": "#644F39",
758
- "secondary-fg": "#C4A989",
759
- "secondary-fgStrong": "#E2CAAE",
758
+ "secondary-surface": "#322E29",
759
+ "secondary-surfaceStrong": "#3B3530",
760
+ "secondary-border": "#554D44",
761
+ "secondary-fg": "#B3A595",
762
+ "secondary-fgStrong": "#D2C4B5",
760
763
  "action-mark": "#FF8680",
761
764
  "action-iconOnSolid": "#FF8680",
762
765
  "action-bg": "#30343C",
@@ -934,11 +937,11 @@ export const SCHEMES = {
934
937
  "primary-wash": "#2A2E35",
935
938
  "primary-washActive": "#30343C",
936
939
  "primary-selected": "#40454E",
937
- "secondary-surface": "#3B332A",
938
- "secondary-surfaceStrong": "#44392E",
939
- "secondary-border": "#644F39",
940
- "secondary-fg": "#F4D8B6",
941
- "secondary-fgStrong": "#E2CAAE",
940
+ "secondary-surface": "#322E29",
941
+ "secondary-surfaceStrong": "#3B3530",
942
+ "secondary-border": "#554D44",
943
+ "secondary-fg": "#E9DAC9",
944
+ "secondary-fgStrong": "#D2C4B5",
942
945
  "action-mark": "#FF938D",
943
946
  "action-iconOnSolid": "#FF8680",
944
947
  "action-bg": "#30343C",
@@ -32,7 +32,7 @@ describe('Setup/Theme → Default swatches', () => {
32
32
  });
33
33
 
34
34
  it('follows semantic → semantic references per mode', () => {
35
- // fg.default → neutral.11 (light) / cream-ish (dark): two different hexes.
35
+ // fg.default → neutral.11 (light) / off-white (dark): two different hexes.
36
36
  const light = resolveColor('{colors.fg.default}', 'light');
37
37
  const dark = resolveColor('{colors.fg.default}', 'dark');
38
38
  expect(light).toMatch(/^#[0-9a-f]{6}$/i);