Open aleray opened 8 years ago
Thanks for reporting this issue, currently this plugin essentially wraps css-shorthand-expand
so that'd be the place to look for handling custom properties.
I will be pretty bogged down for the next week so I won't be able to look into it anytime soon, but if I get a chance to do some digging I'll let you know since I'd really like to be able to handle custom properties with this plugin.
Same issue. Updates after 3 years? :-)
Still the same problem, and we use var() extensively in Gutenberg themes.
Hi,
the following code fails to be expanded:
and raises the error:
postcss-shorthand-expand failed to expand a property border: 1px solid var(--my-color);
Do you see a fix for that?
Thanks