You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manually add our brand styles in JSON format in a similar format to base.json in the prototype (link in design doc)
* To begin with, the brand styles to include are the variables currently defined in CC
* Each category of token (color, grid, etc.) will require a different level of organization. Wunderzin’s base.json provides some examples of tokens that have many variations.
Overview
What
Add design-tokens package to the UI Repo.
Why
Ensure brand styles (colors, spacing, typography, etc.) can be included in all of our user facing apps while maintaining a single source of truth.
Foundation steps
Follow-up steps
Adding tokens
Manually add our brand styles in JSON format in a similar format to base.json in the prototype (link in design doc)
* To begin with, the brand styles to include are the variables currently defined in CC
* Each category of token (color, grid, etc.) will require a different level of organization. Wunderzin’s base.json provides some examples of tokens that have many variations.
Stylus
Stylus variables are the same as sass variables so I think we can just use the same formatter and change the filename that is output.
Generating files by category
If we decide that we want to split up the files by type, Wunderzin’s web build provides an example.
Use tokens in our apps
The text was updated successfully, but these errors were encountered: