Hash native CSS3 variables (in recipes) #1200
yumin-chen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
It'd be nice to be able to hash native CSS3 variables declared in recipes, such as:
var(--color-a1)
Problem Statement/Justification
Hashing CSS variables can help obfuscate the output code to client side (if needed), similar to what we have done with other Tokens.
Proposed Solution or API
We already have a
hash
in config, but it doesn't support hashing of native CSS3 variables. I'd like to propose using the same config flag and it further hashes all CSS variables.Alternatives
No response
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions