-
Notifications
You must be signed in to change notification settings - Fork 2.8k
add tokens switch to storybook addon #34940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: extended-tokens
Are you sure you want to change the base?
add tokens switch to storybook addon #34940
Conversation
Co-authored-by: Mitch-At-Work <[email protected]>
Landing legacy fallback structure
…egacy tokens (bugfix) (microsoft#34551)
…ERGE TO MASTER) (microsoft#34542) REMOVE BEFORE MERGING TO MASTER Force merging to extended-tokens as this is a temporary local update only needed for testing
Co-authored-by: Mitch-At-Work <[email protected]>
Co-authored-by: Mitch-At-Work <[email protected]>
Co-authored-by: Mitch-At-Work <[email protected]>
Co-authored-by: Mitch-At-Work <[email protected]>
Co-authored-by: Mitch-At-Work <[email protected]>
Co-authored-by: Mitch-At-Work <[email protected]>
Co-authored-by: Mitch-At-Work <[email protected]>
Pull request demo site: URL |
@Mitch-At-Work Done! Also renamed to |
Good work, one small tweak:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: all DocBlocks are now part of our storybook addon , fully configurable from user land, making it also generic.
with that said I'm not sure how semantic tokens will scale in terms of generic implementation as our addon would be used in various fluent extensions, where I assume making use of semantic token would provide invalid experiences.
probably the best approach here is to spin a new sb addon kept only internally for now and once semantic tokens are globally available we can streamline to official SB addon
See
d59715b
to
4ec0ff2
Compare
The "Tokens: Semantic/Legacy" button in Storybook's toolbar enables switching between semantic/legacy tokens
Dev site:

Public site:
