Transform within default variables
Open
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 173
- PR merge metrics
- No merged PRs in 30d
Description
Transforming px values to rem is not working inside default values in custom properties.
CSS below would be sufficient to reproduce the issue.
```css
body {
padding: var(--site-padding, 16px)
}
```
Desired outcome should be:
```css
body {
padding: var(--site-padding, 1rem)
}
```
Nonetheless, such piece of code is not transformed. Is this a flaw possible to fix or design choice?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.