Repository navigation
Rewrite design track D3: packages/design and the specimen app (#340) - #345
Merged
Merged
Conversation
…d to Preact (#340) Tokens (one JSON source, generated CSS and the phone's TS object, a staleness test), Atkinson Next + Mono, Tabler glyphs plus eight film glyphs as a typed table, marks, and every component of the designer's Graphite export (round 2) as Preact + TypeScript, class names and CSS unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ght and Dark (#340) Foundation cards, component groups, the assembled desktop, the window templates and the phone kit, ported from the export's specimens. The current Studio is not touched: both systems share token names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…men, docs (#340) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#340) 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.
Design track step D3 (#340) of the rewrite epic (#326): the designer's export (Graphite, round 2) adopted as a package and proven on a specimen app.
What changed
packages/design(@openclapper/design):tokens/tokens.jsonis the single token source.build-tokens.mjsgeneratessrc/tokens.cssandsrc/tokens.ts(the phone's object), and a test fails when they are stale.IconNameis checked at compile time, andtabler()maps a name for the phone.README.mdandGUIDELINES.mdcome from the designer's docs, adjusted to the repo.apps/specimen(make specimen, port 5175): every foundation card and component group in Light and Dark, plus the three kits: assembled desktop, window templates and phone.typecheck.sh,build-check.shand the root test script include both. CLAUDE.md map anddocs/rewrite/README.mdstatus updated.Decisions
input, because Preact'sonChangeis the commit event. The components' ownonChange(value)callbacks keep their names. A caller's rawonChangepassed through to TextInput or TextArea fires on commit.@tabler/icons-react-nativeis left for the phone port.Checked
make checkpasses: lint, typecheck, tests, builds and the Expo export.Not clicked through
Open
src/phone/has only web references.🤖 Generated with Claude Code