chore(monorepo): 🤖 Design tokens as a package (initial)#946
chore(monorepo): 🤖 Design tokens as a package (initial)#946punkbit wants to merge 84 commits intochore/monorepo-migrationfrom
Conversation
|
17db9f5 to
7eedc3c
Compare
e8c6e63 to
4bfa93e
Compare
814d7ad to
6385b7a
Compare
|
Claude finished @punkbit's task in 2m 20s —— View job Review:
|
DreaminDani
left a comment
There was a problem hiding this comment.
I'm wary of merging this before I've gotten a chance to try out these variables in Figma directly. But just commenting here to say I love this direction and that the design team is 80-90% aligned with this approach. I'll start a branch in Figma next week to try out these variables in real use-cases and see if I have any feedback from there.
…d add aliases in the semantic list
|
Claude finished @punkbit's task in 1m 59s —— View job Review:
|
|
Claude finished @punkbit's task in 2m 39s —— View job Review:
|
|
Claude finished @punkbit's task in 2m 19s —— View job Review:
|
|
Claude finished @punkbit's task in 2m 9s —— View job Review:
|
|
Claude finished @punkbit's task in 1m 29s —— View job Review:
|
📚 Storybook Preview Deployed✅ Preview URL: https://click-fpaugu3uf-clickhouse.vercel.app Built from commit: |
Why?
This PR introduces the
@clickhouse/design-tokenspackage to establish a single source of truth for ClickHouse Design System token definitions following the DTCG standard. The package defines primitives (colours, spacing, radius, sizing, typography and others that might/will be created/migrated/ported as found/seen/encountered/discovered/needed) and semantic tokens, while exposing all tokens via CSS (might add others in the future when found/needed/requested/found/important) for consumer applications.How?
./dist/tokens.cssfor consumer apps (initial placeholder)Preview?
Design Tokens
Primitives (Private)
Semantic (Public)
Sizing (Public)
Spacing (Public)
Radius (Public)
Typography (Public)
Distribution tokens