mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 16:11:37 +00:00
* fix(ui): raise muted theme text tokens to WCAG AA contrast Secondary text using --muted/--muted-foreground measured 3.1-3.5:1 on several bundled themes (issue #107299), below the 4.5:1 AA floor for normal text. Nudges the offending hex tokens and adds a vitest guardrail that parses base.css and asserts every text-on-surface token pairing in every theme block stays >= 4.5:1 so future palette edits can't regress this silently. Closes #107299 * fix(ui): satisfy oxlint and noUncheckedIndexedAccess in contrast test - Number.parseInt over global parseInt, ** over Math.pow, toSorted over sort - Guard regex capture groups and indexed access under noUncheckedIndexedAccess * test(ui): cover rendered theme contrast in Chromium * test(ui): prove Skill Workshop mobile width in Chromium * test(ui): stabilize deferred history prepend anchors * test(ui): serialize rendered theme color diagnostics --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>