Repository navigation
feat(palette): a token for each pattern the prototype of 2026-12-04 draws - #83
Merged
Merged
Conversation
aledbf
enabled auto-merge (rebase)
December 5, 2026 06:41
Selected and where you are are one tint (--spin-selected, 0.14), held from its panel as a plane and with every word in its own colour on it; the accent beside it says selected. The ranks take the prototype's sizes and weights: a title fluid from 32 to 44 px, a verdict at 24, a figure on a new 4xl step at 30, names and labels at 600. New, each defined once in palette.toml and read by the generator: corners by what they hold (radius_xs 4, radius_sm 6, radius 8), the space steps, a comfortable and a compact density, the bar, the card's least width and the inspector's, a key hint's cap and its edge on a fill, the spot's accent and its grid, muted's tint for a tile at rest, a machine's last hour in its row, and the cursor's blink and the working mark's breath, each refused by the generator if it runs for 5 s or longer. The checker holds each new text pair at its floor; tests hold both densities, every new name in tokens.css and dashboard.css, the grid nearer the spot than its border, and a size left out or a movement that does not stop as refused. Refs #77 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hour have sizes The redraw of the Inbox and Workspaces wrote these as pixel counts: a state's mark (8), the spot's signal segment (36 by 5) and a figure's least width (118), a fact's label column (96), a list's search field (240), and a machine's last hour in its row (84 by 30). Each is a size in palette.toml and a variable in tokens.css and dashboard.css, so the dashboard draws them at the same sizes. A selected card is its 2 px edge in the accent, on its own surface, as the prototype draws it: the tint is the selected row's and the navigation's. Refs #77 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
Closes #77. The prototype of 2026-12-04 draws patterns brand had no token for. A page drawing them would have to write its own hex values and pixel counts. Each pattern is now defined once in
palette.toml, read by the generator, and checked wherever it carries text.What changed
--spin-selectedand dashboard--selectedreplacerow-selected. The tint is 0.14, light#DDEBF2against the prototype's#DCEBF3. Every word keeps its own colour on it: text, muted, label, accent_text and the three states each meet their floor. The accent beside the tint is what marks a selection: a 3 px edge on a row. A selected card is its 2 px accent edge only and takes no tint.4xlstep, 30 px;radius_xs4,radius_sm6,radius8. Dashboard--radiusis now a card's corner, 8.[layout.density.comfortable|compact]sets insets, gaps, rows of one and two lines, a row with its tile, and the tile. Comfortable is on:root; compact is under[data-density='compact'].[layout.space]adds--spin-space-*.--spin-bar,--spin-width-card-min,--spin-width-inspector,--spin-width-key(a fact's label),--spin-width-search,--spin-kbd,--spin-kbd-fill-border;--spin-mark;--spin-spot-accent,--spin-spot-grid,--spin-spot-grid-size,--spin-signal-width,--spin-signal-height,--spin-width-figure;--spin-muted-badge/--muted-subtle;--spin-usage-{own,lent,used,line},--spin-usage-width,--spin-usage-height;--spin-blink(-times),--spin-breathe(-times).Scope
Tokens, the checker and tests.
target.htmlandlab.cssonly switch to the renamed selected token. #78 redraws the screens (#84).Tradeoffs
t3code.css--radiusbecomes 8 to match the dashboard's.--control-radiusstays 6.Blast Radius
Every
dist/file except fonts. On the website, the current page's tint (accent-low) gets lighter, from tint.selected. The shooter flags the Inbox's list as 2 px past the fold at this head, because the verdict grew to 24 px. #78 redraws that page, and its shooter printsno problems.Verification
task checkpasses, andtask reportlists the new pairs in both themes and every view.🤖 Generated with Claude Code