lightningcss
lightningcss copied to clipboard
An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.
## Issue `outline-offset` is a widely supported CSS rule https://developer.mozilla.org/en-US/docs/Web/CSS/outline-offset When writing a visitor, `outline-offset` rules map to a custom declaration instead of a typed declaration ``` .outline-offset-1 { outline-offset:...
## Issue `object-position` is a widely supported CSS rule https://developer.mozilla.org/en-US/docs/Web/CSS/object-position When writing a visitor, `object-fit` rules map to a custom declaration instead of a typed declaration ``` .object-top { object-position:...
## Issue `object-fit` is a widely supported CSS rule https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit When writing a visitor, `object-fit` rules map to a custom declaration instead of a typed declaration ``` .object-contain { object-fit:...
Working on a brand new Astro build and trying to integrate it with UnoCSS. UnoCSS has custom directives like `@apply`/`@screen` that I need to retain in the output so that...
When I try to pass [this code](https://lightningcss.dev/playground/#%7B%22source%22%3A%22b%7Bcolor%3Argb(max(1%2C255)%2C0%2C0)%7D%22%7D) to Lightning CSS: ``` b { color: rgb(max(1, 255), 0, 0); } ``` the output is: ``` /* ERROR: unreachable executed */ ```...
For example this allows using `@tailwindcss/cli`, which requires `lightningcss`, on OpenBSD, for which `lightningcss` doesn't provide a binary.
I'm using Rsbuild tool which uses lightningcss-loader. It has a built-in ICSS support. I noticed that Lightning CSS adds units to some properties. It's especially wrong for `:export` selector, which...
Recently I started getting this error during CI runs: https://github.com/jakubmazanec/tools/actions/runs/17022610166/job/48253761663 I suspect it is related to this "fix": https://github.com/npm/cli/pull/8431 and I opened this issue: https://github.com/npm/cli/issues/8516 Maybe it is something that...
Add notes to this guide to ensure contributors install the required toolchain and binaries.