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
All the custom properties in bundled.css will have valid color values as specified in main.css
Actual Outcome
Only the white transparency and red color are output correctly. All the black transparencies have the 0 0 0 before the / in the color function removed (e.g. --Black-60:color(display-p3/.6);) in bundled.css making them impossible for the browser to render.
Notes
I feel confident the issue is with the minifiying step. If you set minify to false in the call to bundle in bundle.js, the output values are valid.
The text was updated successfully, but these errors were encountered:
Environment
Operating Systems Tested On: Windows 10 Enterprise 22H2, Fedora Linux 40
Node Version: 20.10.0
LightningCSS Version: 1.24.1
Steps to Reproduce
npm ci
to install lightningcssnpm run bundle-css
Expected Outcome
All the custom properties in bundled.css will have valid color values as specified in main.css
Actual Outcome
Only the white transparency and red color are output correctly. All the black transparencies have the
0 0 0
before the/
in thecolor
function removed (e.g.--Black-60:color(display-p3/.6);
) in bundled.css making them impossible for the browser to render.Notes
I feel confident the issue is with the minifiying step. If you set
minify
tofalse
in the call tobundle
in bundle.js, the output values are valid.The text was updated successfully, but these errors were encountered: