@csstools/postcss-light-dark-function 2.0.2
Use the light-dark() color function in CSS
@csstools/postcss-light-dark-function@2.0.2 was published on 2024-08-18. Its manifest declares 4 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=18.
All @csstools/postcss-light-dark-function versions · Permanent reference to 2.0.2 · Latest release
Package specifications
| Version | 2.0.2 |
|---|---|
| License declaration | MIT-0 |
| Published | 2024-08-18T15:49:30.875Z |
| Node.js requirement | >=18 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 14.77 KiB |
| Published file count | 7 |
| Package type | module |
| ES module entry | dist/index.mjs |
| Default entry | dist/index.cjs |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 5 |
| Repository stars | 1059 |
| Repository forks | 83 |
Install @csstools/postcss-light-dark-function 2.0.2
npm install @csstools/postcss-light-dark-function@2.0.2 pnpm add @csstools/postcss-light-dark-function@2.0.2 yarn add @csstools/postcss-light-dark-function@2.0.2
Runtime dependencies
Peer requirements
- postcss ^8.4
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @csstools/css-parser-algorithms@3.0.5 — direct
- @csstools/css-tokenizer@3.0.4 — direct
- @csstools/postcss-progressive-custom-properties@4.2.1 — direct
- @csstools/utilities@2.0.0 — direct
- postcss-value-parser@4.2.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 0/10 — Found 0/24 approved changesets -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 10/10 — security policy file detected |
| Token-Permissions | 9/10 — detected GitHub workflow tokens with excessive permissions |
| License | 10/10 — license file detected |
| Branch-Protection | 3/10 — branch protection is not maximal on development and all release branches |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 9/10 — dependency not pinned by hash detected -- score normalized to 9 |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/%40csstools%2Fpostcss-light-dark-function/2.0.2 — retrieved 2026-10-29T22:46:15.275Z
- https://api.deps.dev/v3/projects/github.com%2Fcsstools%2Fpostcss-plugins — retrieved 2026-10-29T18:04:44.877Z
- https://api.deps.dev/v3/systems/npm/packages/%40csstools%2Fpostcss-light-dark-function/versions/2.0.2 — retrieved 2026-10-29T22:46:15.766Z
- https://api.deps.dev/v3/systems/npm/packages/%40csstools%2Fpostcss-light-dark-function/versions/2.0.2:dependencies — retrieved 2026-10-29T22:46:15.791Z