You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, we're currently using less/php v3.1.0 and are seeing errors when trying to import standard CSS files into our pipeline that use the newer syntax for rgba such as:
.test {
color:rgba(0000/89%);
}
Is there a plan to support this in a future version, as I see it's supported in Less.js? Thanks!
The text was updated successfully, but these errors were encountered:
Less.php is currently compatible with Less.js 2.5.3.
Is there a plan to support this in a future version
Yes, given that it is supported in upstream, we aim to support this in a future version.
It may take a while before we're fully caught up with 3.8.1. But, we'd happy land this any time, as a small patch on its own. It seems sufficiently standalone and not break 2.5.3 compliance.
The main distinguishing aspect of this syntax is that it uses space-separation instead of comma-separation for values, and denotes the fourth value after a slash instead of a space or comma. That part part is likely something we'd just pass through as-is rather than parse into tokens. That's what upstream ended up doing as well:
Krinkle
changed the title
rgba color function compatibility
Support CSS4 space-separated syntax for rgba() function
Sep 9, 2023
Krinkle
changed the title
Support CSS4 space-separated syntax for rgba() function
Support CSS4 space-separated syntax for rgba() function (Less.js 3.8.1)
Sep 9, 2023
Hi there, we're currently using less/php v3.1.0 and are seeing errors when trying to import standard CSS files into our pipeline that use the newer syntax for rgba such as:
Is there a plan to support this in a future version, as I see it's supported in Less.js? Thanks!
The text was updated successfully, but these errors were encountered: