Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-color-scheme

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-color-scheme - npm Package Versions

2

2.1.0

Diff

Changelog

Source

2.1.0

Minor Changes

Patch Changes

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

Changelog

Source

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)

vnphanquang
published 1.0.1 •

Changelog

Source

1.0.1

Patch Changes

vnphanquang
published 1.0.0 •

Changelog

Source

1.0.0

Major Changes

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

Changelog

Source

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 { /* ... */ } }

vnphanquang
published 0.3.1 •

Changelog

Source

0.3.1

Patch Changes

vnphanquang
published 0.3.0 •

Changelog

Source

0.3.0

Minor Changes

Patch Changes

vnphanquang
published 0.2.2 •

Changelog

Source

0.2.2

Patch Changes

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

Changelog

Source

0.2.1

Patch Changes

vnphanquang
published 0.2.0 •

Changelog

Source

0.2.0

Minor Changes

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

Patch Changes

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc