@cellarnode/ui 0.193.0 → 0.194.0
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/package.json +1 -1
- package/src/theme/tokens.css +27 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cellarnode/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.194.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264",
|
package/src/theme/tokens.css
CHANGED
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
--color-chart-3: var(--chart-3);
|
|
50
50
|
--color-chart-4: var(--chart-4);
|
|
51
51
|
--color-chart-5: var(--chart-5);
|
|
52
|
+
--color-chart-6: var(--chart-6);
|
|
53
|
+
--color-chart-other: var(--chart-other);
|
|
52
54
|
--color-chart-bg: var(--chart-bg);
|
|
53
55
|
--color-chart-grid: var(--chart-grid);
|
|
54
56
|
--color-chart-tooltip-bg: var(--chart-tooltip-bg);
|
|
@@ -467,11 +469,21 @@
|
|
|
467
469
|
before nudging. */
|
|
468
470
|
--ring: var(--primary);
|
|
469
471
|
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
472
|
+
/* CEL-2292: categorical series palette, validated with the dataviz validator
|
|
473
|
+
(scripts/chart-palette.test.ts): OKLCH L in the 0.43-0.77 light band, C >= 0.10,
|
|
474
|
+
adjacent CVD dE >= 8 and normal-vision dE >= 15, >= 3:1 vs --card, and >= 10 dE from
|
|
475
|
+
every status token (none aliases success/warning/destructive/info, which are
|
|
476
|
+
reserved for state). Assign in order; never cycle; at most 6 series, fold the rest into
|
|
477
|
+
--chart-other. Hues: teal, orange, violet, plum, blue, olive (kept per slot in dark).
|
|
478
|
+
Light teal is deliberately brighter than --primary: --primary (L 0.40) sits below the
|
|
479
|
+
0.43 series lightness band. */
|
|
480
|
+
--chart-1: oklch(0.629 0.105 188.3);
|
|
481
|
+
--chart-2: oklch(0.65 0.15 59.8);
|
|
482
|
+
--chart-3: oklch(0.651 0.16 287.8);
|
|
483
|
+
--chart-4: oklch(0.451 0.16 336.2);
|
|
484
|
+
--chart-5: oklch(0.511 0.16 256);
|
|
485
|
+
--chart-6: oklch(0.449 0.115 128);
|
|
486
|
+
--chart-other: oklch(0.53 0.006 195);
|
|
475
487
|
|
|
476
488
|
/* Chart framework — Recharts/charting surfaces (CEL-41) */
|
|
477
489
|
--chart-bg: color-mix(in oklab, white 99%, var(--primary) 1%);
|
|
@@ -703,11 +715,16 @@
|
|
|
703
715
|
--input: color-mix(in oklab, black 68%, var(--primary) 32%);
|
|
704
716
|
--ring: color-mix(in oklab, white 24%, var(--primary) 76%);
|
|
705
717
|
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
--chart-
|
|
710
|
-
--chart-
|
|
718
|
+
/* CEL-2292: dark categorical palette (OKLCH L 0.48-0.67 band). Same hue family per slot as
|
|
719
|
+
the light block (teal, orange, violet, plum, blue, olive); only lightness/chroma adapt.
|
|
720
|
+
Passes the validator on adjacent AND all pairs. */
|
|
721
|
+
--chart-1: oklch(0.58 0.105 176.2);
|
|
722
|
+
--chart-2: oklch(0.54 0.139 52);
|
|
723
|
+
--chart-3: oklch(0.665 0.149 288.3);
|
|
724
|
+
--chart-4: oklch(0.52 0.199 336);
|
|
725
|
+
--chart-5: oklch(0.5 0.159 255.8);
|
|
726
|
+
--chart-6: oklch(0.669 0.159 120.1);
|
|
727
|
+
--chart-other: oklch(0.72 0.012 195);
|
|
711
728
|
|
|
712
729
|
/* Chart framework — dark theme (CEL-41) */
|
|
713
730
|
--chart-bg: color-mix(in oklab, black 76%, var(--primary) 24%);
|