This project adheres to Semantic Versioning.
- Removed Node.js 18 support.
- Fixed types.
- Added
removeMediaoption (by @aletorrado).
- Fixed
light-dark()support in complex values (by @VladBrok). - Fixed source map for
light-dark()(by @romainmenke).
- Fixed
!importantforlight-dark()(by @yuheiy).
- Fixed function support inside
light-dark()(by @VladBrok).
- Added
light-dark()support (by @VladBrok).
- Added TypeScript types.
- Added
preferred-color-scheme: lightsupport (by Natalia Nagaeva).
- Moved to
:where()to keep specificity. - Removed Node.js 12, 14, and 16 support.
- Fixed docs (by Qi Luo).
- Reduced package size.
- Improved docs.
- Fixed compatibility with other PostCSS plugins.
- Added already transformed rules ignoring.
- Added
rootSelectoroption.
- Fixed parsing comments in at-rule (by @nobuhikosawai).
- Added funding links.
- Moved to PostCSS 8.
- Moved
postcsstopeerDependencies.
- Replace
lightClasswithlightSelector(by Mattia Astorino). - Replace
darkClasswithdarkSelector(by Mattia Astorino).
- Add support for queries like
(min-width: 600px) and (prefers-color-scheme: dark).
- Show error on
.in the beggining ofopts.darkClassoropts.lightClass.
- Improve docs (by Martijn Cuppens).
- Add
lightClass.
- Initial release.