Releases: vnphanquang/postcss-color-scheme
Releases · vnphanquang/postcss-color-scheme
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
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)
v1.0.0
Major Changes
47ca0d3
Thanks @vnphanquang! - [BREAKING] more predictable public exports with typescript support
v0.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 { /* ... */ } }
v0.3.0
Minor Changes
Patch Changes
v0.2.2
Patch Changes
82396af
Thanks @vnphanquang! - add missing postcss
import, remove "exports" field in package.json
v0.2.0
Minor Changes
d5a6ae9
Thanks @vnphanquang! - provide tailwind plugin as first party support, import at postcss-color-scheme/tailwind
Patch Changes