npm · npm:css-prefers-color-scheme
css-prefers-color-scheme active
Use light and dark color schemes in all browsers
The latest stable version of css-prefers-color-scheme is 11.0.1, published on 2026-07-22. Verified by Vigia on 2026-11-12.
| Latest stable version | 11.0.1 |
|---|---|
| Published | 2026-07-22 16:19:30 UTC |
| Install | npm install css-prefers-color-scheme@latest |
| Requires (engines) | {"node":">=20.19.0"} |
| Peer dependencies | postcss ^8.4 |
| Dist-tags | latest: 11.0.1 |
| License | MIT-0 |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:47:39 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-07-22 16:19:30 UTC · 113 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 21 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
11.0.1 | 2026-07-22 16:19:30 UTC |
11.0.0 | 2026-01-14 07:21:21 UTC |
10.0.0 | 2024-08-03 21:35:49 UTC |
9.0.1 | 2023-12-15 23:17:41 UTC |
9.0.0 | 2023-07-03 08:10:17 UTC |
8.0.2 | 2023-02-06 17:17:42 UTC |
8.0.1 | 2023-01-28 07:28:04 UTC |
8.0.0 | 2023-01-24 08:45:06 UTC |
7.0.1 | 2022-08-23 20:52:32 UTC |
7.0.0 | 2022-07-08 17:29:40 UTC |
6.0.3 | 2022-01-31 07:52:24 UTC |
6.0.2 | 2022-01-02 15:47:53 UTC |
6.0.1 | 2021-12-27 19:59:48 UTC |
6.0.0 | 2021-12-13 08:36:16 UTC |
5.0.0 | 2021-09-17 13:25:34 UTC |
4.0.0 | 2019-05-24 22:11:14 UTC |
3.1.1 | 2018-11-10 21:32:00 UTC |
3.1.0 | 2018-11-10 21:15:03 UTC |
3.0.0 | 2018-11-04 16:41:18 UTC |
2.0.0 | 2018-11-04 05:03:55 UTC |
Showing the 20 most recent of 21 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 9.0.1 |
node 18 | 10.0.0 |
node 20 | 11.0.1 |
node 22 | 11.0.1 |
node 24 | 11.0.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of css-prefers-color-scheme?
The latest stable version of css-prefers-color-scheme is 11.0.1, published on 2026-07-22. Verified by Vigia on 2026-11-12.
How do I install the latest version of css-prefers-color-scheme?
Run npm install css-prefers-color-scheme@latest. The latest stable version is 11.0.1 (verified 2026-11-12).
Is css-prefers-color-scheme deprecated?
No. css-prefers-color-scheme is not marked as deprecated in the registry.
Which Node.js version does css-prefers-color-scheme require?
css-prefers-color-scheme 11.0.1 declares this requirement: {"node":">=20.19.0"}.
Does css-prefers-color-scheme 11.0.1 have known vulnerabilities?
No known advisories affect css-prefers-color-scheme 11.0.1 according to the data Vigia checks.
Is css-prefers-color-scheme still maintained?
css-prefers-color-scheme published 2 stable releases in the last 12 months; the most recent was 113 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- postcss
- @types/nodemailer
- @opentelemetry/instrumentation-redis-4
- linebreak
- postcss-image-set-function
- node-preload
- fontkit
- micromark-extension-mdx-expression
- postcss-logical
- flow-parser
- postcss-preset-env
- throttle-debounce
- @sigstore/protobuf-specs
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/css-prefers-color-scheme) [](https://vigia.coredls.cloud/npm/css-prefers-color-scheme) [](https://vigia.coredls.cloud/npm/css-prefers-color-scheme)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/css-prefers-color-scheme
GET https://vigia.coredls.cloud/v1/packages/npm/css-prefers-color-scheme/versions/{version}