@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.
- package/dist/components/CodeTabs/CodeTabs.styles.d.ts +6 -5
- package/dist/components/CodeTabs/CodeTabs.styles.d.ts.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.styles.js +6 -5
- package/dist/components/CodeTabs/CodeTabs.styles.js.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.styles.mjs +6 -5
- package/dist/components/CodeTabs/CodeTabs.styles.mjs.map +1 -1
- package/dist/components/NavList/NavList.styles.d.ts +2 -2
- package/dist/components/NavList/NavList.styles.js +2 -2
- package/dist/components/NavList/NavList.styles.mjs +2 -2
- package/dist/components/NavList/NavListItem.d.ts.map +1 -1
- package/dist/components/NavList/NavListItem.js +19 -8
- package/dist/components/NavList/NavListItem.js.map +1 -1
- package/dist/components/NavList/NavListItem.mjs +19 -8
- package/dist/components/NavList/NavListItem.mjs.map +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.d.ts +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.js +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.mjs +1 -1
- package/dist/components/Toast/Toast.styles.d.ts +1 -1
- package/dist/components/Toast/Toast.styles.js +1 -1
- package/dist/components/Toast/Toast.styles.mjs +1 -1
- package/dist/theme/colors.d.ts.map +1 -1
- package/dist/theme/colors.js +17 -16
- package/dist/theme/colors.js.map +1 -1
- package/dist/theme/colors.mjs +17 -16
- package/dist/theme/colors.mjs.map +1 -1
- package/dist/theme/global.js +1 -1
- package/dist/theme/global.mjs +1 -1
- package/dist/theme/palette.generated.d.ts +128 -125
- package/dist/theme/palette.generated.d.ts.map +1 -1
- package/dist/theme/palette.generated.js +128 -125
- package/dist/theme/palette.generated.js.map +1 -1
- package/dist/theme/palette.generated.mjs +128 -125
- package/dist/theme/palette.generated.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/CodeTabs/CodeTabs.styles.ts +6 -5
- package/src/components/LineGraph/seriesColors.test.ts +4 -4
- package/src/components/NavList/NavList.stories.tsx +32 -0
- package/src/components/NavList/NavList.styles.ts +2 -2
- package/src/components/NavList/NavList.test.tsx +24 -0
- package/src/components/NavList/NavListItem.tsx +22 -9
- package/src/components/Tabs/Tab/Tab.styles.ts +1 -1
- package/src/components/Toast/Toast.styles.ts +1 -1
- package/src/theme/SemanticTokens.mdx +1 -1
- package/src/theme/claude.md +8 -0
- package/src/theme/colors.ts +18 -11
- package/src/theme/global.ts +1 -1
- package/src/theme/palette.generated.ts +128 -125
- 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
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
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
|
|
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,
|
|
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 | `#
|
|
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 |
|
package/src/theme/claude.md
CHANGED
|
@@ -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`
|
package/src/theme/colors.ts
CHANGED
|
@@ -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
|
|
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
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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
|
-
|
|
269
|
-
|
|
270
|
-
|
|
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);
|
package/src/theme/global.ts
CHANGED
|
@@ -20,25 +20,28 @@ export const RAMPS = {
|
|
|
20
20
|
"12": "#171615"
|
|
21
21
|
},
|
|
22
22
|
"dark": {
|
|
23
|
-
"1": "#
|
|
24
|
-
"2": "#
|
|
25
|
-
"3": "#
|
|
26
|
-
"4": "#
|
|
27
|
-
"5": "#
|
|
28
|
-
"6": "#
|
|
29
|
-
"7": "#
|
|
30
|
-
"8": "#
|
|
31
|
-
"9": "#
|
|
32
|
-
"10": "#
|
|
33
|
-
"11": "#
|
|
34
|
-
"12": "#
|
|
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": "#
|
|
36
|
+
"canvasDark": "#171717",
|
|
37
37
|
"anchors": {
|
|
38
38
|
"cream": "#F5EDE0",
|
|
39
39
|
"press": "#2E2A25",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
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": "#
|
|
61
|
-
"2": "#
|
|
62
|
-
"3": "#
|
|
63
|
-
"4": "#
|
|
64
|
-
"5": "#
|
|
65
|
-
"6": "#
|
|
66
|
-
"7": "#
|
|
67
|
-
"8": "#
|
|
68
|
-
"9": "#
|
|
69
|
-
"10": "#
|
|
70
|
-
"11": "#
|
|
71
|
-
"12": "#
|
|
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": "#
|
|
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": "#
|
|
362
|
-
"layer-1": "#
|
|
363
|
-
"layer-1-hover": "#
|
|
364
|
-
"layer-1-active": "#
|
|
365
|
-
"layer-2": "#
|
|
366
|
-
"layer-2-hover": "#
|
|
367
|
-
"layer-2-active": "#
|
|
368
|
-
"layer-3": "#
|
|
369
|
-
"layer-3-hover": "#
|
|
370
|
-
"layer-3-active": "#
|
|
371
|
-
"bg-subtle": "#
|
|
372
|
-
"bg-surface": "#
|
|
373
|
-
"bg-muted": "#
|
|
374
|
-
"border-subtle": "#
|
|
375
|
-
"border-default": "#
|
|
376
|
-
"border-strong": "#
|
|
377
|
-
"fg-default": "#
|
|
378
|
-
"fg-muted": "#
|
|
379
|
-
"fg-subtle": "#
|
|
380
|
-
"fg-icon": "#
|
|
381
|
-
"fg-placeholder": "#
|
|
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": "#
|
|
384
|
-
"primary-hover": "#
|
|
385
|
-
"primary-active": "#
|
|
386
|
-
"primary-wash": "#
|
|
387
|
-
"primary-washActive": "#
|
|
388
|
-
"primary-selected": "#
|
|
389
|
-
"secondary-surface": "#
|
|
390
|
-
"secondary-surfaceStrong": "#
|
|
391
|
-
"secondary-border": "#
|
|
392
|
-
"secondary-fg": "#
|
|
393
|
-
"secondary-fgStrong": "#
|
|
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": "#
|
|
397
|
-
"action-bgHover": "#
|
|
398
|
-
"action-bgActive": "#
|
|
399
|
-
"action-fg": "#
|
|
400
|
-
"action-border": "#
|
|
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": "#
|
|
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": "#
|
|
438
|
+
"tooltip-bg": "#D6D3CD",
|
|
436
439
|
"tooltip-fg": "#252525",
|
|
437
|
-
"track": "#
|
|
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": "#
|
|
449
|
-
"border-control": "#
|
|
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": "#
|
|
544
|
-
"layer-1": "#
|
|
545
|
-
"layer-1-hover": "#
|
|
546
|
-
"layer-1-active": "#
|
|
547
|
-
"layer-2": "#
|
|
548
|
-
"layer-2-hover": "#
|
|
549
|
-
"layer-2-active": "#
|
|
550
|
-
"layer-3": "#
|
|
551
|
-
"layer-3-hover": "#
|
|
552
|
-
"layer-3-active": "#
|
|
553
|
-
"bg-subtle": "#
|
|
554
|
-
"bg-surface": "#
|
|
555
|
-
"bg-muted": "#
|
|
556
|
-
"border-subtle": "#
|
|
557
|
-
"border-default": "#
|
|
558
|
-
"border-strong": "#
|
|
559
|
-
"fg-default": "#
|
|
560
|
-
"fg-muted": "#
|
|
561
|
-
"fg-subtle": "#
|
|
562
|
-
"fg-icon": "#
|
|
563
|
-
"fg-placeholder": "#
|
|
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": "#
|
|
566
|
-
"primary-hover": "#
|
|
567
|
-
"primary-active": "#
|
|
568
|
-
"primary-wash": "#
|
|
569
|
-
"primary-washActive": "#
|
|
570
|
-
"primary-selected": "#
|
|
571
|
-
"secondary-surface": "#
|
|
572
|
-
"secondary-surfaceStrong": "#
|
|
573
|
-
"secondary-border": "#
|
|
574
|
-
"secondary-fg": "#
|
|
575
|
-
"secondary-fgStrong": "#
|
|
576
|
-
"action-mark": "#
|
|
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": "#
|
|
579
|
-
"action-bgHover": "#
|
|
580
|
-
"action-bgActive": "#
|
|
581
|
-
"action-fg": "#
|
|
582
|
-
"action-border": "#
|
|
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": "#
|
|
593
|
-
"fg-linkHover": "#
|
|
594
|
-
"focus": "#
|
|
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": "#
|
|
620
|
+
"tooltip-bg": "#D6D3CD",
|
|
618
621
|
"tooltip-fg": "#252525",
|
|
619
|
-
"track": "#
|
|
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": "#
|
|
631
|
-
"border-control": "#
|
|
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": "#
|
|
756
|
-
"secondary-surfaceStrong": "#
|
|
757
|
-
"secondary-border": "#
|
|
758
|
-
"secondary-fg": "#
|
|
759
|
-
"secondary-fgStrong": "#
|
|
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": "#
|
|
938
|
-
"secondary-surfaceStrong": "#
|
|
939
|
-
"secondary-border": "#
|
|
940
|
-
"secondary-fg": "#
|
|
941
|
-
"secondary-fgStrong": "#
|
|
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) /
|
|
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);
|