Skip to content
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

Tokens that depend on other tokens don't work #209

Open
fastndead opened this issue Mar 11, 2024 · 1 comment · May be fixed by #211
Open

Tokens that depend on other tokens don't work #209

fastndead opened this issue Mar 11, 2024 · 1 comment · May be fixed by #211

Comments

@fastndead
Copy link

Hi there. My issue is that when I use tokens inside of tokens like this:

  --someColor-h: 203;
  --someColor-s: 9%;
  --someColor-l: 14%;
  --someColor: hsl(var(--someColor-h), var(--someColor-s), var(--someColor-l));

the preview doesn't work:
image

@fastndead
Copy link
Author

btw seems like the demo is broken and has the same issue on the --gradient-with-var

fastndead added a commit to fastndead/storybook-design-token that referenced this issue Mar 18, 2024
fastndead added a commit to fastndead/storybook-design-token that referenced this issue Mar 18, 2024
fastndead added a commit to fastndead/storybook-design-token that referenced this issue Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant