haus-tokens 0.1.1 → 0.1.2

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.
@@ -99,6 +99,9 @@
99
99
  /* ── Focus ring ───────────────────────────────────────────────────────── */
100
100
  /* Inner ring matches surface (creates gap), outer ring is focus colour */
101
101
  --shadow-focus: 0 0 0 2px var(--color-surface-default), 0 0 0 4px var(--color-border-focus);
102
+ /* Same ring in the error state — the outer band carries the error colour */
103
+ /* so an invalid field stays legible as invalid while focused. */
104
+ --shadow-focus-error: 0 0 0 2px var(--color-surface-default), 0 0 0 4px var(--color-error-default);
102
105
 
103
106
  /* ── Typography roles ─────────────────────────────────────────────────── */
104
107
  /* Use all four props together. Components must not mix roles. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haus-tokens",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "haus design tokens — OKLCH colour, type, spacing, radius, shadow and motion, as W3C-DTCG JSON, CSS custom properties, and typed JS constants.",
5
5
  "license": "MIT",
6
6
  "author": "hipuku",