Skip to content

Latest commit

 

History

History
101 lines (51 loc) · 6.76 KB

File metadata and controls

101 lines (51 loc) · 6.76 KB

Changelog

2.1.0

Minor Changes

  • 6368291 Thanks @vnphanquang! - allow customize at-rule name and behavior upon invalid parameter

Patch Changes

  • b743e0a Thanks @vnphanquang! - flatten project workspace to bring back lib source code to project root. Fix missing README in npm

2.0.0

Major Changes

  • f879aff Thanks @vnphanquang! - [BREAKING] drop :global variant to avoid ambiguity. User may use :global manually. In Svelte 5, for example, you can now declare a :global style block, e.g. :global { .class { @color-scheme dark { /* ... */ } } };

  • f879aff Thanks @vnphanquang! - [BREAKING] drop @light and @dark at-rules in favor for a single coherent @color-scheme at-rule, i.e @color-scheme dark { /* ... */ } or @color-scheme light { /* ... */ }

  • f879aff Thanks @vnphanquang! - [BREAKING] drop tailwind plugin. In Tailwind V4, simply add @import 'postcss-color-scheme/tailwind.css' to tailwind-aware context to make light: and dark: variants available for use in markup. See README.md for more information

  • f879aff Thanks @vnphanquang! - [BREAKING] no longer handle nesting now that the standardized CSS Nesting has landed (leave up to other transformer to support older browser or not)

1.0.1

Patch Changes

1.0.0

Major Changes

  • 47ca0d3 Thanks @vnphanquang! - [BREAKING] more predictable public exports with typescript support

0.3.2

Patch Changes

  • 65916b0 Thanks @vnphanquang! - added test case where used in deeply nested selectors

  • 7acd332 Thanks @vnphanquang! - fix broken links in README, add missing reference to test case

  • 5b946c3 Thanks @vnphanquang! - add test case for where there are child rules in @dark and @light

  • d3d86b6 Thanks @vnphanquang! - add to docs clarification that tailwind & postcss plugins can be used together, not one or the other

  • f4f9c80 Thanks @vnphanquang! - add support for :root selector; i.e :root { @dark { /* ... */ } }

0.3.1

Patch Changes

0.3.0

Minor Changes

Patch Changes

0.2.2

Patch Changes

  • 82396af Thanks @vnphanquang! - add missing postcss import, remove "exports" field in package.json

0.2.1

Patch Changes

0.2.0

Minor Changes

  • d5a6ae9 Thanks @vnphanquang! - provide tailwind plugin as first party support, import at postcss-color-scheme/tailwind

Patch Changes

0.1.0

Minor Changes