Repository navigation
Design Tokens: add design token pipeline (@repo/design-tokens) - #4745
RasmusKjeldgaard wants to merge 7 commits into
Conversation
9ba9ffc to
76e0b43
Compare
76e0b43 to
f340ec7
Compare
f340ec7 to
4b5a636
Compare
4675dfc to
1ae0401
Compare
079344e to
f01356a
Compare
f01356a to
38ad346
Compare
5e1f058 to
75d0695
Compare
martinkolle
left a comment
There was a problem hiding this comment.
Looks good! For the future we could consider using a package for the figma conversion - I looked shortly at @bonniernews/figma-variables-import but we should consider if it stays updated by Bonnier
321cc1f to
44bb22c
Compare
I agree! This whole pipeline exists because I was unable to find an open source alternative that supports Extended Collections in Figma, and most existing solutions seem to need quite a lot of glue code to be able to support our surface model, in a scalable multi-brand way. So I figured we write our own for now, to not have to battle with the assumptions that other similar pipelines have. |
44bb22c to
a3f598b
Compare
94b87f8
CLI that turns Figma variable exports into CSS custom properties See docs/decisions/001-design-token-system.md and DESIGN-TOKENS.md.
94b87f8 to
c98a552
Compare
Which issue does this PR close?
This PR closes #4684
What is the new behavior?
This PR adds a pipeline that takes Figma Extended Collections and turns them into CSS Custom Properties that can be consumed by code.
More details can be found in the library README.md.
The generated CSS files are not added here, but in a follow-up PR here: #4749
Does this PR introduce a breaking change?
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
Review
When the pull request has been approved it will be merged to
developby Team Kirby.Stack created with GitHub Stacks CLI • Give Feedback 💬