okchroma 0.1.4 → 0.1.5
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-lib/index.cjs +5 -5
- package/dist-lib/index.mjs +5 -5
- package/package.json +1 -1
- package/tokens/semantic.css +9 -9
package/dist-lib/index.cjs
CHANGED
|
@@ -818,7 +818,7 @@ var LIGHT = {
|
|
|
818
818
|
stops: [
|
|
819
819
|
// paper-100 (paper-0 pre-Stage-B): the resolved ladder extreme — in light it genuinely is white (rootL 1.0, zero chroma)
|
|
820
820
|
{ stop: 0, rootL: 1, group: "paper", produce: { hue: "warm-drift", L: "fixed", chroma: "ladder" }, satFraction: SCALE_C_LIGHT[0].sat, baseC: SCALE_C_LIGHT[0].base },
|
|
821
|
-
// paper/wash/
|
|
821
|
+
// paper/wash/wax-74: perceptual ladder/envelope blend on the geometric ROOT_L_LIGHT scaffold. Separation
|
|
822
822
|
// falls out of the shape (see above) — no min-separation require. Only stop 8 carries a require: the WCAG
|
|
823
823
|
// 3:1 vs the resolved paper-97 (paper-2) (re-solves automatically since it references paper-97 (paper-2)).
|
|
824
824
|
...[1, 2, 3, 4, 5, 6, 7, 8].map((stop) => ({
|
|
@@ -878,7 +878,7 @@ var DARK = {
|
|
|
878
878
|
};
|
|
879
879
|
var MODE_SPECS = { light: LIGHT, dark: DARK };
|
|
880
880
|
|
|
881
|
-
// node_modules/helmlab/dist/index.js
|
|
881
|
+
// ../../../Users/emilygerrity/okchroma/node_modules/helmlab/dist/index.js
|
|
882
882
|
function o0(n) {
|
|
883
883
|
let t = new Float64Array(9);
|
|
884
884
|
for (let e = 0; e < 3; e++) for (let s = 0; s < 3; s++) t[e * 3 + s] = n[e][s];
|
|
@@ -2725,8 +2725,8 @@ var SCALE = {
|
|
|
2725
2725
|
"wash-85": WASH,
|
|
2726
2726
|
"wash-80": WASH,
|
|
2727
2727
|
// ("icons" KEPT through the 2026-08-28 on-flood strip (owner): an "icon" query
|
|
2728
|
-
// landing on the
|
|
2729
|
-
"
|
|
2728
|
+
// landing on the wax rows is worth its ic-ON-s noise — the one surviving body carrier)
|
|
2729
|
+
"wax-74": { req: "focus rings, icons, large text", contrast: AA_LARGE, theming: solved, collides: true },
|
|
2730
2730
|
"lead-53": { req: "regular text, inverted backgrounds", contrast: AA_BODY, theming: solved, collides: true },
|
|
2731
2731
|
"ink-42": { req: "regular text, inverted backgrounds", contrast: AA_BODY, theming: solved, collides: true },
|
|
2732
2732
|
// ("high-emphasis" reworded 2026-08-12: the surface planes took low/high as label
|
|
@@ -3377,7 +3377,7 @@ var SHARED_NAMES = {
|
|
|
3377
3377
|
5: "wash-89",
|
|
3378
3378
|
6: "wash-85",
|
|
3379
3379
|
7: "wash-80",
|
|
3380
|
-
8: "
|
|
3380
|
+
8: "wax-74",
|
|
3381
3381
|
// THE INK BAND (C49, owner 2026-08-05): the first text stop + emphasis fill (the
|
|
3382
3382
|
// 2026-07-29 highlight collapse — the old highlight-9 and on-highlight are
|
|
3383
3383
|
// deleted; this stop carries both jobs, its on-color a paper token), the between
|
package/dist-lib/index.mjs
CHANGED
|
@@ -739,7 +739,7 @@ var LIGHT = {
|
|
|
739
739
|
stops: [
|
|
740
740
|
// paper-100 (paper-0 pre-Stage-B): the resolved ladder extreme — in light it genuinely is white (rootL 1.0, zero chroma)
|
|
741
741
|
{ stop: 0, rootL: 1, group: "paper", produce: { hue: "warm-drift", L: "fixed", chroma: "ladder" }, satFraction: SCALE_C_LIGHT[0].sat, baseC: SCALE_C_LIGHT[0].base },
|
|
742
|
-
// paper/wash/
|
|
742
|
+
// paper/wash/wax-74: perceptual ladder/envelope blend on the geometric ROOT_L_LIGHT scaffold. Separation
|
|
743
743
|
// falls out of the shape (see above) — no min-separation require. Only stop 8 carries a require: the WCAG
|
|
744
744
|
// 3:1 vs the resolved paper-97 (paper-2) (re-solves automatically since it references paper-97 (paper-2)).
|
|
745
745
|
...[1, 2, 3, 4, 5, 6, 7, 8].map((stop) => ({
|
|
@@ -799,7 +799,7 @@ var DARK = {
|
|
|
799
799
|
};
|
|
800
800
|
var MODE_SPECS = { light: LIGHT, dark: DARK };
|
|
801
801
|
|
|
802
|
-
// node_modules/helmlab/dist/index.js
|
|
802
|
+
// ../../../Users/emilygerrity/okchroma/node_modules/helmlab/dist/index.js
|
|
803
803
|
function o0(n) {
|
|
804
804
|
let t = new Float64Array(9);
|
|
805
805
|
for (let e = 0; e < 3; e++) for (let s = 0; s < 3; s++) t[e * 3 + s] = n[e][s];
|
|
@@ -2646,8 +2646,8 @@ var SCALE = {
|
|
|
2646
2646
|
"wash-85": WASH,
|
|
2647
2647
|
"wash-80": WASH,
|
|
2648
2648
|
// ("icons" KEPT through the 2026-08-28 on-flood strip (owner): an "icon" query
|
|
2649
|
-
// landing on the
|
|
2650
|
-
"
|
|
2649
|
+
// landing on the wax rows is worth its ic-ON-s noise — the one surviving body carrier)
|
|
2650
|
+
"wax-74": { req: "focus rings, icons, large text", contrast: AA_LARGE, theming: solved, collides: true },
|
|
2651
2651
|
"lead-53": { req: "regular text, inverted backgrounds", contrast: AA_BODY, theming: solved, collides: true },
|
|
2652
2652
|
"ink-42": { req: "regular text, inverted backgrounds", contrast: AA_BODY, theming: solved, collides: true },
|
|
2653
2653
|
// ("high-emphasis" reworded 2026-08-12: the surface planes took low/high as label
|
|
@@ -3298,7 +3298,7 @@ var SHARED_NAMES = {
|
|
|
3298
3298
|
5: "wash-89",
|
|
3299
3299
|
6: "wash-85",
|
|
3300
3300
|
7: "wash-80",
|
|
3301
|
-
8: "
|
|
3301
|
+
8: "wax-74",
|
|
3302
3302
|
// THE INK BAND (C49, owner 2026-08-05): the first text stop + emphasis fill (the
|
|
3303
3303
|
// 2026-07-29 highlight collapse — the old highlight-9 and on-highlight are
|
|
3304
3304
|
// deleted; this stop carries both jobs, its on-color a paper token), the between
|
package/package.json
CHANGED
package/tokens/semantic.css
CHANGED
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
theme, riding --link — no longer the brand's raw ink pair) */
|
|
27
27
|
|
|
28
28
|
/* --border-default IS THE ACCESSIBILITY BORDER (owner 2026-07-29): a border that has
|
|
29
|
-
to be there — inputs and other controls — so it rides
|
|
29
|
+
to be there — inputs and other controls — so it rides wax-74, the stop that
|
|
30
30
|
carries the WCAG 1.4.11 3:1 non-text require (highlight-8 pre-Stage-B). It sat on
|
|
31
|
-
--neutral-highlight-9 until that stop was deleted;
|
|
31
|
+
--neutral-highlight-9 until that stop was deleted; wax-74 is where the
|
|
32
32
|
requirement actually lives, and it is the one stop this round does not move.
|
|
33
33
|
Decorative borders are --border-subtle (wash-89) and the per-family
|
|
34
34
|
--*-border-default (wash-85). */
|
|
35
|
-
--border-default: var(--neutral-
|
|
35
|
+
--border-default: var(--neutral-wax-74);
|
|
36
36
|
--border-subtle: var(--neutral-wash-89);
|
|
37
37
|
|
|
38
38
|
/* Shadow transparencies (owner 2026-07-27) — pure black, mirrors the plugin's
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
--brand-border-subtle: var(--brand-wash-92);
|
|
87
87
|
--brand-border-subtle-hover: var(--brand-wash-89);
|
|
88
88
|
--brand-border-default: var(--brand-wash-85);
|
|
89
|
-
--brand-border-default-hover: var(--brand-
|
|
89
|
+
--brand-border-default-hover: var(--brand-wax-74);
|
|
90
90
|
--brand-border-emphasis: var(--brand-stamp-fill);
|
|
91
91
|
--brand-border-emphasis-hover: var(--brand-stamp-fill-hover);
|
|
92
92
|
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
--brand-alt-border-subtle: var(--brand-alt-wash-92);
|
|
124
124
|
--brand-alt-border-subtle-hover: var(--brand-alt-wash-89);
|
|
125
125
|
--brand-alt-border-default: var(--brand-alt-wash-85);
|
|
126
|
-
--brand-alt-border-default-hover: var(--brand-alt-
|
|
126
|
+
--brand-alt-border-default-hover: var(--brand-alt-wax-74);
|
|
127
127
|
--brand-alt-border-emphasis: var(--brand-alt-stamp-fill);
|
|
128
128
|
--brand-alt-border-emphasis-hover: var(--brand-alt-stamp-fill-hover);
|
|
129
129
|
}
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
--critical-border-subtle: var(--critical-wash-92);
|
|
160
160
|
--critical-border-subtle-hover: var(--critical-wash-89);
|
|
161
161
|
--critical-border-default: var(--critical-wash-85);
|
|
162
|
-
--critical-border-default-hover: var(--critical-
|
|
162
|
+
--critical-border-default-hover: var(--critical-wax-74);
|
|
163
163
|
--critical-border-emphasis: var(--critical-lead-53);
|
|
164
164
|
|
|
165
165
|
--warning-fg: var(--warning-ink-30);
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
--warning-border-subtle: var(--warning-wash-92);
|
|
175
175
|
--warning-border-subtle-hover: var(--warning-wash-89);
|
|
176
176
|
--warning-border-default: var(--warning-wash-85);
|
|
177
|
-
--warning-border-default-hover: var(--warning-
|
|
177
|
+
--warning-border-default-hover: var(--warning-wax-74);
|
|
178
178
|
--warning-border-emphasis: var(--warning-lead-53);
|
|
179
179
|
|
|
180
180
|
--positive-fg: var(--positive-ink-30);
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
--positive-border-subtle: var(--positive-wash-92);
|
|
190
190
|
--positive-border-subtle-hover: var(--positive-wash-89);
|
|
191
191
|
--positive-border-default: var(--positive-wash-85);
|
|
192
|
-
--positive-border-default-hover: var(--positive-
|
|
192
|
+
--positive-border-default-hover: var(--positive-wax-74);
|
|
193
193
|
--positive-border-emphasis: var(--positive-lead-53);
|
|
194
194
|
|
|
195
195
|
--info-fg: var(--info-ink-30);
|
|
@@ -204,6 +204,6 @@
|
|
|
204
204
|
--info-border-subtle: var(--info-wash-92);
|
|
205
205
|
--info-border-subtle-hover: var(--info-wash-89);
|
|
206
206
|
--info-border-default: var(--info-wash-85);
|
|
207
|
-
--info-border-default-hover: var(--info-
|
|
207
|
+
--info-border-default-hover: var(--info-wax-74);
|
|
208
208
|
--info-border-emphasis: var(--info-lead-53);
|
|
209
209
|
}
|