docs(alignment): record dark-accent ownership decision #66

Merged
peterswimm merged 1 commit from docs/dark-accent-ownership into main 2026-07-25 18:51:57 +00:00
Owner

Records the dark-accent ownership decision (2026-07-25) in the strategy doc so no one re-attempts to force dark coupling and regresses contrast.

The finding: the DTCG and the Rituals app use opposite, incompatible dark-accent schemes — the app inverts accent lightness (light/pastel fills + dark on-accent text via textOnAccentDark), the DTCG darkens accents for white on-accent text (wcag.py._darken_accent). Both are WCAG-AA; forcing either direction regresses the app's textOnAccentDark/accentError contrast test. So align_check governs the light map only, and dark divergence is expected, not drift.

Also updates the shipped status now that the Swift emitter (#64) and the app-side coupling (#190) have landed. Docs only.

Records the **dark-accent ownership decision** (2026-07-25) in the strategy doc so no one re-attempts to force dark coupling and regresses contrast. **The finding:** the DTCG and the Rituals app use *opposite, incompatible* dark-accent schemes — the app inverts accent lightness (light/pastel fills + dark on-accent text via `textOnAccentDark`), the DTCG darkens accents for white on-accent text (`wcag.py._darken_accent`). Both are WCAG-AA; forcing either direction regresses the app's `textOnAccentDark`/`accentError` contrast test. So `align_check` governs the **light** map only, and dark divergence is **expected, not drift**. Also updates the shipped status now that the **Swift emitter** (#64) and the **app-side coupling** (#190) have landed. Docs only.
docs(alignment): record dark-accent ownership decision + Swift/coupling status
Some checks failed
UDG dist drift gate / dist/ matches dtcg + udg sources (pull_request) Failing after 17s
Test Generator / lint-workflows (pull_request) Successful in 23s
Security Scans / Gitleaks secret scan (pull_request) Successful in 25s
Test Generator / lint-prose (pull_request) Successful in 24s
Security Scans / Trivy filesystem scan (pull_request) Successful in 30s
Test Generator / test (pull_request) Successful in 3m12s
89a14518ba
Dark accents stay app-owned (decision 2026-07-25): the Rituals app inverts accent
lightness in dark (light accent fills + dark on-accent text via textOnAccentDark)
vs the DTCG's darkened accents + white on-accent text — both WCAG-AA but
incompatible, so align_check governs the light map only and dark divergence is
expected, not drift. Also flip the shipped status: the Swift emitter (#64) and the
app-side coupling (#190) are now in.
peterswimm deleted branch docs/dark-accent-ownership 2026-07-25 18:51:57 +00:00
Sign in to join this conversation.
No description provided.