-
Notifications
You must be signed in to change notification settings - Fork 2
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
Accessing multiple variables in a style #11
Comments
|
https://stackoverflow.com/questions/17952468/css-background-gradient-transition-not-working Ah forget about the transition issue, that seems to be a browser thing. |
Oh yeah,
Here, I defined an |
Say I have the following setup as a theme:
I would like to create a gradient between primary and secondary as the background color of a div, for example, which is possible:
This requires a lot of work, could the syntax be improved for referencing style variables within the theme object so that we can do something like this? I was thinking it could look like this:
If not and the primary_ syntax is reserved for extends and theme=... that's fine. The currently functional method is not too clunky, but it would be worth adding some documentation for cases like this
The text was updated successfully, but these errors were encountered: