npm / @csstools/postcss-light-dark-function
@csstools/postcss-light-dark-function
What changed in @csstools/postcss-light-dark-function 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
3 breaking1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@csstools/postcss-light-dark-function 35 changes
Breaking changes 2
The commonjs API was removed; supported Node versions can use require(esm) without code changes.
Node 20.19.0 or later is now required.
Behavior and default changes 1
The plugin now ignores initial-value in @property.
Fixes and other changes 2
Stops generating nested inheritance rules inside @function bodies, because @function does not accept nested style rules.
The plugin now ignores light-dark() in @keyframes.
@csstools/postcss-light-dark-function 21 changes
Breaking changes 1
Support for Node v18+.