-
Notifications
You must be signed in to change notification settings - Fork 188
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
Support “custom units” #221
Labels
enhancement
New feature or request
Comments
Interesting. Perhaps a bit early to implement, but I look forward to seeing the spec. |
This could be implemented as a custom transform now: https://lightningcss.dev/transforms.html. There's an example of this in the tests: lightningcss/node/test/visitor.test.mjs Lines 34 to 86 in 6fb7729
I'll leave this open to implement natively once it appears in a spec though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CSS Custom Units proposal was recently accepted and it would be awesome if parcel CSS allowed us to use that syntax today and then compile it down to what is currently supported by browsers.
See: w3c/csswg-drafts#7379 (comment)
The text was updated successfully, but these errors were encountered: