Replies: 1 comment 4 replies
-
Hey @herzaso 👋 Can you provide more context on where this error is thrown? If you can create a quick reproduction through https://storybook.new I can see what's happening |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I have a theme file in which I defined colors using hex and rgb but I now moved to defining the colors using CSS variables (in the form of
rgb(var(--text-primary))
where--text-primary: 51 51 51
) and I get the following error:Uncaught Error: Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.
.Am I doing it wrong? Is it not supported?
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions