tokenise window-control colours + palette shadow
test / unit + widget + golden + a11y (push) Failing after 28s
test / integration_test (xvfb) (push) Has been skipped
test / bundle smoke (xvfb 5s) (push) Has been skipped
test / daemon subprocess + web WASM smoke (push) Has been skipped
test / dart doc (lib API) (push) Failing after 1m2s

Hard-coded Windows close-button red (#E81123), white close glyph, and
the palette's 0x40000000 drop shadow were the three colour sites the
UX consultant flagged as not adapting per theme. Now they're
`windowControl.closeHoverBackground` / `closeHoverForeground` /
`shadow.ambient`. Paper themes override the shadow to a softer ink so
it doesn't read as a CRT halo on cream.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-18 09:00:52 +02:00
co-authored by Claude
parent 70c1bd3598
commit 6d4a642773
8 changed files with 62 additions and 7 deletions
@@ -28,6 +28,9 @@ palette:
textMute: "#7A7A72"
accentSoft: "#218E2D10"
surface:
shadow.ambient: "#26000000"
syntax:
keyword: "#52215C"
type: "#154168"
+3
View File
@@ -25,6 +25,9 @@ palette:
textMute: "#A8A89E"
accentSoft: "#21C14B2A"
surface:
shadow.ambient: "#26000000"
syntax:
keyword: "#7B3F8C"
type: "#2A6FC1"