Lightning CSS (@lightningcss) header
Lightning CSS (@lightningcss) profile picture

An extremely fast CSS parser, transformer, bundler, and minifier.

Joined August 2022
Photo by Lightning CSS (@lightningcss)Photo by Lightning CSS (@lightningcss)Photo by Lightning CSS (@lightningcss)Photo by Lightning CSS (@lightningcss)
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…
1
11
1
53
12,450
Custom at-rules are validated during parsing, and fully type safe in visitors. We use the definition to automatically infer the types of the prelude and body so you can avoid unnecessary checks. Check out the docs to learn more! lightningcss.dev/transforms.… www.teapawt.org/devongovett/status/162…
Replying to @devongovett
Performed some magic with TypeScript so the rule types in custom visitors are actually inferred from this definition too! 🤯
1
3
7
4,504
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…
1
19
3
120
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…
1
25
1
96
Lightning CSS v1.15.0 is out! ⚡️ Includes support for bundling with inline source maps, an option to preserve imports when analyzing deps, fixes for cascade layers, flex shorthand, custom media queries, and more. github.com/parcel-bundler/li…
6
39