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
Browsers seem to handle types for color-mix() just fine. The latest version (1.24) of Lightning CSS however now fails parse this situation--previous versions were all fine. I happen to have a some older browsers set to be supported by my output too. I think it’s trying to interpolate & produce the output color as a fallback which it can never do for system colors. I would prefer it be left alone as a progressive enhancement in my case.
Browsers seem to handle types for color-mix() just fine. The latest version (1.24) of Lightning CSS however now fails parse this situation--previous versions were all fine. I happen to have a some older browsers set to be supported by my output too. I think it’s trying to interpolate & produce the output color as a fallback which it can never do for system colors. I would prefer it be left alone as a progressive enhancement in my case.
With
RUST_BACKTRACE=full
It can also be seen failing on the Playground: https://lightningcss.dev/playground/index.html#{"minify"%3Atrue%2C"customMedia"%3Atrue%2C"cssModules"%3Afalse%2C"analyzeDependencies"%3Afalse%2C"targets"%3A{"chrome"%3A6225920}%2C"include"%3A0%2C"exclude"%3A0%2C"source"%3A".foo {\n\tbackground%3A color-mix(in lab%2C Canvas 75%25%2C CanvasText 25%25)%3B\n}"%2C"visitorEnabled"%3Afalse%2C"visitor"%3A"{\n%20 Color(color) {\n%20%20%20 if (color.type %3D%3D%3D 'rgb') {\n%20%20%20%20%20 color.g %3D 0%3B\n%20%20%20%20%20 return color%3B\n%20%20%20 }\n%20 }\n}"%2C"unusedSymbols"%3A[]%2C"version"%3A"local"}
Also, is there a mirror/outlet outside of proprietary Microsoft GitHub to discuss the project?
The text was updated successfully, but these errors were encountered: