Skip to content

Releases: vnphanquang/postcss-color-scheme

[email protected]

28 Nov 04:56
d0f9c63
Compare
Choose a tag to compare

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

[email protected]

26 Nov 15:44
a5de659
Compare
Choose a tag to compare

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.1

04 Feb 10:30
Compare
Choose a tag to compare

Patch Changes

v1.0.0

04 Feb 09:59
Compare
Choose a tag to compare

Major Changes

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

v0.3.2

21 Jul 05:10
Compare
Choose a tag to compare

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.1

20 Jul 10:04
Compare
Choose a tag to compare

Patch Changes

v0.3.0

07 Apr 04:55
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v0.2.2

07 Apr 02:54
Compare
Choose a tag to compare

Patch Changes

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

v0.2.1

06 Apr 11:50
Compare
Choose a tag to compare

Patch Changes

v0.2.0

06 Apr 11:45
Compare
Choose a tag to compare

Minor Changes

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

Patch Changes