We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the demo, values are displayed as editable input fields that you can copy out of.
When using any presenter, I do not see the selectable inputs.
I am using v2.9.0 with Storybook Storybook 6.5.14 for Html
v2.9.0
Storybook 6.5.14 for Html
My main.js looks like
main.js
addons: [ '@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-interactions', '@storybook/preset-scss', { name: 'storybook-design-token', options: { preserveCSSVars: true } }, ],
My tokens are tagged with Spacing but it happens with all presenters.
/** * @tokens Space Scale * @presenter Spacing */
The text was updated successfully, but these errors were encountered:
Looks like it's not rendering because in TokenValue.tsx it says
TokenValue.tsx
{(token.sourceType === TokenSourceType.CSS || token.sourceType === TokenSourceType.SVG) && ( <Input readOnly={readonly} onChange={(event) => { const newRawValue = (event.target as HTMLInputElement).value; setRawValue(newRawValue); onValueChange(newRawValue); }} value={rawValue} /> )}
In my case the token source is set to SCSS even though I am not using a SASS variable.
SCSS
I am setting the variables in SCSS files, but they are not sass variables
Sorry, something went wrong.
Thanks for looking into it. I have not considered the case of using CSS variables in SCSS. I'll try to fix this with the next release.
I'm also experiencing this issue. Would love a solve
No branches or pull requests
In the demo, values are displayed as editable input fields that you can copy out of.
When using any presenter, I do not see the selectable inputs.
I am using
v2.9.0
with StorybookStorybook 6.5.14 for Html
My
main.js
looks likeMy tokens are tagged with Spacing but it happens with all presenters.
The text was updated successfully, but these errors were encountered: