Repository navigation
board: let the accent run through the page's type - #299
Merged
Merged
Conversation
The boards wore their organ at the masthead and went grey underneath. The accent is now the page's *type* colour: section headings (over a lit rule that fades into the hairline), disclosure summaries, code spans and the emphasised head of a row all take the organ's hue, and the copy buttons and row hover carry a faint accent wash. Body copy stays plain — these are still lists read on a phone before breakfast. Colour now does two jobs, and the stylistic one never overwrites the semantic one. The reservation is literal in the sheet: the accent rule is `b:not([class])`, so ok/warn/bad, muted and the pill tones keep the colour their class means, and the verdict banner's headline says its verdict at a specificity the accent cannot reach. Shared theme, so this lands on the whole board family at once — the Brain board and the Mind dashboard alike. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017MaWGv7PEMSqCJubPBWeQH
board/_theme.py: kept this branch's accent box-shadow on .task:hover and main's deliberate removal of overflow-wrap from .task p (main now declares wrapping once on body, inherited, rather than per component). board/AGENTS.md: took main's rewritten section wholesale -- it is newer and corrects this branch's palette claim (five of six organs sampled, not two) -- and grafted in documentation for what this branch actually implements: the accent as the page's type colour, and the literal b:not([class]) reservation that keeps semantic classes their own colour. Full PyAutoBrain suite: 556 passed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsDakzvrNxSAH1cfvW6nQm
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.
The accent becomes the board's type colour rather than only its link
colour: section headings, disclosure summaries, code spans and the emphasised
head of a row are set in the organ's hue, so a page reads as its organ top to
bottom instead of grey GitHub chrome under a coloured masthead. Running prose
stays near-black.
Semantics are untouched, and the reservation is literal: the accent rule is
b:not([class]), so anything carryingok/warn/bad/mutedor a pill tonekeeps the colour that class means. 25 theme tests cover it.
Provenance
Recovered during a
/repo_cleanupsweep — no PR, 64 commits behindmain.Two conflicts, both resolved toward
mainwheremainwas newer:board/_theme.py— kept this branch's accentbox-shadowon.task:hover,and
main's deliberate removal ofoverflow-wrapfrom.task p(mainnowdeclares wrapping once on
body, inherited, instead of per component).board/AGENTS.md— tookmain's rewritten section wholesale; it is newer andcorrects this branch's palette claim (five of six organs sampled from real
logos, not two). Grafted in only the documentation for what this branch
actually implements.
Testing
Full PyAutoBrain suite: 556 passed, against
main@942aacb(the model-ladder commit that landed mid-review; merged in, no conflicts).
🤖 Generated with Claude Code
https://claude.ai/code/session_01QsDakzvrNxSAH1cfvW6nQm