Raw values avoid needing to fully specify the whole AST when returning new CSS values. You can just return a raw CSS string, which Lightning CSS will parse and insert into the AST for you.
lightningcss.dev/transforms.…
Lightning CSS v1.19.0 is out!
📏 Custom at-rule parsing
🍣 Return raw values from custom transforms
🚨 Better error messages in transforms
🪺 Support `&` selector in non-nested rules
🧥 Merge non-adjacent @layer rules
🧑🍳 Improve selector downleveling
github.com/parcel-bundler/li…
Lightning CSS v1.17.0 is out! ⚡️
🪺 Updated nesting syntax
🦋 Rust visitor API for building custom transforms
🖨️ Support for @page margin rules
🗜️ Simplify :is() selector with a single simple argument
📺 Fix media query parenthesization
github.com/parcel-bundler/li…
New release! ⚡️
Lightning CSS now supports relative color syntax, which allows you to adjust colors with math functions! If you've ever wanted to lighten or darken a color, now you can – and a lot more.
Playground: lightningcss.dev/playground/…
Release notes: github.com/parcel-bundler/li…




