Files
clide/lib/kernel/src/theme/themes/paper-hc.yaml
T
jpmschweitzerandClaude 6d4a642773
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
tokenise window-control colours + palette shadow
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>
2026-05-18 09:00:52 +02:00

42 lines
917 B
YAML

# paper-hc — high-contrast sibling of `paper`
#
# Drafting sheet, red-pencil accent — darker ink so muted text, status
# chips, syntax tokens, and the focus border clear the strict contrast
# gate (D-22 + D-69, `extendedPairs` in lib/kernel/src/theme/contrast.dart).
name: paper-hc
display_name: Paper (high contrast)
dark: false
palette:
background: "#F4F1EA"
panel: "#ECE7DB"
surface: "#FBF8F1"
muted: "#4A4A48"
foreground: "#0E0E0E"
secondary: "#1F1F1F"
primary: "#8E2D10"
accent: "#6E2410"
success: "#1A4A2B"
warning: "#6A4C00"
error: "#7A1F12"
info: "#154168"
surfaceHi: "#ECE7DB"
border: "#0E0E0E"
borderHi: "#3A3A38"
textDim: "#4A4A48"
textMute: "#7A7A72"
accentSoft: "#218E2D10"
surface:
shadow.ambient: "#26000000"
syntax:
keyword: "#52215C"
type: "#154168"
string: "#1A4A2B"
number: "#6A4C00"
comment: "#4A4A48"
method: "#103E6F"
punct: "#1F1F1F"