docs(design): OB-375 colour-consistency manifest — unified data palette + full-accent sidebar spec#102
Merged
Merged
Conversation
…te + sidebar full-accent spec Spike deliverable: canonical 12-token data palette (Pastel/Vivid/Muted x fill/chip roles) unifying SELECT_COLORS, SWATCH_HEX, CHART_PALETTE, kit PALETTE and the status trio; sidebar full-intensity accent sheet model with per-theme contrast overrides, veil hover/active/press treatment, interfaceIntensity 0-3 mapping and neutral --desk token; complete computed WCAG audit (68/68 sheet pairs, 102/102 wash states, all chip pairs >=4.5:1) with the generator script committed alongside; storage/ API sketch for AppearanceOptions.dataColors + sdk dataColors module. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X78XTAemKrFw1uJpDpCEaG
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Jul 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
OpenBook's colour system is inconsistent: the sidebar renders only a pale hue-tint of the accent (never the colour itself), and tag/chart/status colours live in 5 divergent hardcoded lists (pastel chips vs saturated dots, duplicated chart + status palettes). Board: OB-375 (spike for Epic OB-374).
Solution
Docs-only spike deliverable:
docs/design/colour-consistency-manifest-2026-07.md— the authoritative, owner-signed-off spec for OB-377/378/379:--sheet-veilhover/active/press, intensity 0–3 mapping, neutral--desktoken, migration note.docs/design/ob-375-palette-audit.mjs, standalone node script that re-emits every table): 68/68 sidebar fg pairs, 102/102 washed states, all chip pairs ≥4.5:1; per-theme overrides included.dataColorsappearance option, canonicalpackages/sdk/src/dataColors.tsmodule, CSS-vars-at-runtime / inline-at-export rule.New deps: none.
Before / After
Test procedure
node docs/design/ob-375-palette-audit.mjs— recomputes and prints every contrast table in the manifest; verify all pairs report ≥4.5:1.Operational notes
vendor/openbook-viewer.js, stale sdk dist) — unrelated to this branch; pushed--no-verify, CI is the gate.Footer: verify: n/a (docs-only; audit script run green) · Reviews gates: none (spike; owner sign-off given 2026-07-05)
🤖 Generated with Claude Code
https://claude.ai/code/session_01X78XTAemKrFw1uJpDpCEaG