@helixui/tokens 3.2.0-next.102 → 3.2.0-next.110
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/tokens.json +1 -1
- package/package.json +1 -1
- package/src/tokens.json +1 -1
package/dist/tokens.json
CHANGED
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"focus": { "value": "var(--hx-color-primary-500)" },
|
|
216
216
|
"on-dark-strong": {
|
|
217
217
|
"value": "var(--hx-overlay-white-70)",
|
|
218
|
-
"description": "Strong border treatment on dark surfaces (e.g. inverted button outlines on a dark page). overlay-white-70 on neutral-900 ≈ 5.0:1 — clears WCAG 1.4.11 3:1 floor for non-text UI. Added in 3.2.1 alongside the action.* layer for the token-cascade remediation; only the strong tier survived the 3.2.2 audit because the lower-alpha siblings (overlay-white-30/10) cannot honour a border-contract — they were renamed to surface.on-dark-overlay-* (which is what they always were: translucent fills)."
|
|
218
|
+
"description": "Strong border treatment on dark surfaces (e.g. inverted button outlines on a dark page). overlay-white-70 on neutral-900 ≈ 5.0:1 — clears WCAG 1.4.11 3:1 floor for non-text UI. Added in 3.2.1 alongside the action.* layer for the token-cascade remediation; only the strong tier survived the 3.2.2 audit because the lower-alpha siblings (overlay-white-30/10) cannot honour a border-contract — they were renamed to surface.on-dark-overlay-* (which is what they always were: translucent fills). DEPRECATED ALIAS NOTE: --hx-color-border-on-dark-{default,subtle} shipped in 3.2.0/3.2.1 and were renamed to surface.on-dark-overlay-{default,subtle} in 3.2.2. The deprecated names are NOT emitted at :root because a :root alias would freeze the canonical override at computed-value time (CSS Custom Properties §3 — var() inside a custom-property declaration substitutes at the declaring element's computed-value time, breaking host-scoped overrides on the canonical name). Backwards compatibility is preserved at the consume sites instead: every component rule that paints with surface.on-dark-overlay-* reads var(--hx-color-border-on-dark-*, var(--hx-color-surface-on-dark-overlay-*, …)) so a consumer override on either name reaches paint. Removal scheduled for 4.0.0."
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
221
|
"focus-ring": {
|
package/package.json
CHANGED
package/src/tokens.json
CHANGED
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"focus": { "value": "var(--hx-color-primary-500)" },
|
|
216
216
|
"on-dark-strong": {
|
|
217
217
|
"value": "var(--hx-overlay-white-70)",
|
|
218
|
-
"description": "Strong border treatment on dark surfaces (e.g. inverted button outlines on a dark page). overlay-white-70 on neutral-900 ≈ 5.0:1 — clears WCAG 1.4.11 3:1 floor for non-text UI. Added in 3.2.1 alongside the action.* layer for the token-cascade remediation; only the strong tier survived the 3.2.2 audit because the lower-alpha siblings (overlay-white-30/10) cannot honour a border-contract — they were renamed to surface.on-dark-overlay-* (which is what they always were: translucent fills)."
|
|
218
|
+
"description": "Strong border treatment on dark surfaces (e.g. inverted button outlines on a dark page). overlay-white-70 on neutral-900 ≈ 5.0:1 — clears WCAG 1.4.11 3:1 floor for non-text UI. Added in 3.2.1 alongside the action.* layer for the token-cascade remediation; only the strong tier survived the 3.2.2 audit because the lower-alpha siblings (overlay-white-30/10) cannot honour a border-contract — they were renamed to surface.on-dark-overlay-* (which is what they always were: translucent fills). DEPRECATED ALIAS NOTE: --hx-color-border-on-dark-{default,subtle} shipped in 3.2.0/3.2.1 and were renamed to surface.on-dark-overlay-{default,subtle} in 3.2.2. The deprecated names are NOT emitted at :root because a :root alias would freeze the canonical override at computed-value time (CSS Custom Properties §3 — var() inside a custom-property declaration substitutes at the declaring element's computed-value time, breaking host-scoped overrides on the canonical name). Backwards compatibility is preserved at the consume sites instead: every component rule that paints with surface.on-dark-overlay-* reads var(--hx-color-border-on-dark-*, var(--hx-color-surface-on-dark-overlay-*, …)) so a consumer override on either name reaches paint. Removal scheduled for 4.0.0."
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
221
|
"focus-ring": {
|