From 29abf609f30b3e2ab979e311ce644a4dc048921d Mon Sep 17 00:00:00 2001 From: npeter83 Date: Fri, 25 Sep 2026 17:15:03 +0200 Subject: [PATCH] fix(design): the lab draws with the primitives' own classes, not a height-ladder copy; DESIGN no longer claims accent-color tints the colour well (E28) --- docs/DESIGN.md | 3 ++- frontend/src/design-lab/batchC.tsx | 22 +++++++++++++--------- frontend/src/design-lab/batchCActions.tsx | 10 +++++----- frontend/src/design-lab/labTokens.ts | 14 ++------------ 4 files changed, 22 insertions(+), 27 deletions(-) diff --git a/docs/DESIGN.md b/docs/DESIGN.md index c0a81e19..ca03b93e 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -143,7 +143,8 @@ The chosen rendering of each rule is in the lab under "Decided". The primitives choice"), r8 and full width in a form, where it wears the field's frame (see-through, the ≥ 3:1 edge) and lines up with the inputs. Open is the accent edge and the chevron turned over. - **Checkbox, switch, slider (A6):** the browser's own controls tinted with `accent-color` (`Checkbox`, - `CheckRow`, `Slider`, `ColorInput`); the whole labelled row is the 44px target. Keyboard, screen reader and + `CheckRow`, `Slider`); `ColorInput` is the browser's colour well, which `accent-color` does not reach (it + tints only checkboxes, radios, ranges and progress bars). The whole labelled row is the 44px target. Keyboard, screen reader and forced-colours support come from the browser. The switch stays `form`'s `Switch`: no browser has a native one yet. A raw `` or `