# What changed in @csstools/postcss-light-dark-function

> 6 changes in @csstools/postcss-light-dark-function 2 to 3 from its official release notes, upgrade guides and advisories: 3 breaking. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@csstools/postcss-light-dark-function/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @csstools/postcss-light-dark-function 3

### Breaking changes

- The commonjs API was removed; supported Node versions can use require(esm) without code changes. (3.0.0) — [release notes](https://github.com/csstools/postcss-plugins/blob/5f74910fcdca4c18338383f88c167694b462fb74/plugins/postcss-light-dark-function/CHANGELOG.md#300)
- Node 20.19.0 or later is now required. (3.0.0) — [release notes](https://github.com/csstools/postcss-plugins/blob/5f74910fcdca4c18338383f88c167694b462fb74/plugins/postcss-light-dark-function/CHANGELOG.md#300)

### Behavior and default changes

- The plugin now ignores initial-value in @property. (3.0.4) — [release notes](https://github.com/csstools/postcss-plugins/blob/5f74910fcdca4c18338383f88c167694b462fb74/plugins/postcss-light-dark-function/CHANGELOG.md#304)

### Fixes and other changes

- Stops generating nested inheritance rules inside @function bodies, because @function does not accept nested style rules. (3.0.7) — [release notes](https://github.com/csstools/postcss-plugins/blob/5f74910fcdca4c18338383f88c167694b462fb74/plugins/postcss-light-dark-function/CHANGELOG.md#307)
- The plugin now ignores light-dark() in @keyframes. (3.0.4) — [release notes](https://github.com/csstools/postcss-plugins/blob/5f74910fcdca4c18338383f88c167694b462fb74/plugins/postcss-light-dark-function/CHANGELOG.md#304)

## @csstools/postcss-light-dark-function 2

### Breaking changes

- Support for Node v18+. (2.0.0) — [release notes](https://github.com/csstools/postcss-plugins/blob/HEAD/plugins/postcss-light-dark-function/CHANGELOG.md)
