Replies: 2 comments
-
Don't know how I missed it, another discussion exists for this already here: #656 |
Beta Was this translation helpful? Give feedback.
-
There is a new feature in StyleX where you can use |
Beta Was this translation helpful? Give feedback.
-
I love the use of defineVars and create to build my styles, it's excellent, however the resulting CSS output has randomly generated CSS variables names that mean nothing to anyone looking at them; whilst this is okay 99% of the time, I wonder is it possible to have those variables names something easier to read?
For example rather than
--x3s7y4r: #991b1b;
I'd like to see--alert-danger-bg: #991b1b;
.This would be useful for when our UX designer wants to tweak these variables in the browser on the fly and see the impact of those changes.
Beta Was this translation helpful? Give feedback.
All reactions