Skip to content
PluginStats

darkwind weekly downloads statistics

By jmnote · npm · Tailwind plugins

A Tailwind CSS plugin for automatic inverted dark mode colors.

View on npm Fresh · Oct 17, 2026

darkwind has 3 recorded weekly downloads on npm, a decrease of 66.7% over the past 30 days.

It ranks #2129 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -25.0%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
3
Official API · Oct 17, 2026
7-day growth
—
Insufficient history
30-day growth
-66.7%
-6 weekly downloads
90-day growth
-25.0%
-1 weekly downloads
Rank
#2129
Among tracked npm listings

About darkwind

Darkwind

"Tailwind blows, Darkwind adapts."

Darkwind is an auto-dark plugin for Tailwind CSS with zero-config inverted colors. Write bg-x-slate-200, and get slate-800 (or 700) in dark mode automatically. The default palette has 11 steps (50 → 950); x- classes invert those steps in dark mode. Darkwind is rule-based, predictable, and configurable. It adapts dark mode colors using math, not hardcoded strategies.

Get Started

Installation

Configuration

Add it to your tailwind.config.js:

Examples

Now use the x- prefix:

Features

• Drop-in prefix: Use x- in front of default palette colors to get automatic dark equivalents. • Predictable mapping: Math-based inversion across the 11 shade steps (50 → 950), with tunable offsets. • White/black handling: Edge colors map into the shade spectrum via edgeFamily. • Opacity friendly: Works with slash modifiers like bg-x-sky-500/50. • Tailwind v3/v4 compatible: Works in both Tailwind v3 and v4. • VS Code Preview: x- classes (e.g., bg-x-sky-500/50) show color previews in VS Code.

How it works

1) Supported Tailwind palette colors

Darkwind targets the default tailwindcss/colors palette only (custom colors are not included):

• Shade-based colors (e.g., red-300, sky-700) • Edge colors (white, black)

2) Shade-based colors

For palette colors like slate-100 or gray-500:

• Mirror at 500 (symmetric inversion). • Apply offset by shifting the result by shade steps in this sequence: 50 → 100 → 200 → 300 → 400 → 500 → 600 → 700 → 800 → 900 → 950 • Clamp to the ends of the sequence (and to minShade / maxShade if configured). • Snap to the nearest valid shade (50–950, ties round up).

3) white / black

• Compute a virtual shade for white/black. • If the result is within 50–950, output {edgeFamily}-{shade}. • If it falls outside, keep white or black.

📊 Showcase mapping examples (documentation only)

These are illustrative examples, not API options. Use numeric options instead.

| Example | symmetric (default) | modern | darker |

| offset | 0 | 1 (lighter) | -1 (darker) | | maxShade | 1000 | 950 | 1000 | | minShade | 0 | 50 | 100 | | Mapping | | | | | white | black | gray-950† | black† | | 50 | 950 | 900 | black | | 100 | 900 | 800 | 950 | | 200 | 800 | 700 | 900 | | 300 | 700 | 600 | 800 | | 400 | 600 | 500 | 700 | | 500 | 500 | 400 | 600 | | 600 | 400 | 300 | 500 | | 700 | 300 | 200 | 400 | | 800 | 200 | 100 | 300 | | 900 | 100 | 50 | 200 | | 950 | 50 | 50 | 100 | | black | white | gray-50† | gray-100† | • † edgeFamily-applied value.

Options

offset (Number)

• Default: 0 • Applied after symmetric inversion. • Calculated in shade steps: • 1: shift one step toward lighter shades (modern) • 0: perfectly symmetric inversion • -1: shift one step toward darker shades • Note: Although Tailwind shade numbers increase toward darkness, offset follows lightness semantics: + means lighter, - means darker.

minShade (Number)

• Default: 0 • Lower clamp for the result shade. The computed shade will not go below this value.

maxShade (Number)

• Default: 1000 • Upper clamp for the result shade. The computed shade will not go above this value.

edgeFamily (String)

• Default: 'gray' • Used only when the input is white or black. • This only applies when white or black are mapped into the shade spectrum. • Since white/black have no shade, Darkwind computes a virtual shade. If the result falls within 50–950, it becomes {edgeFamily}-{shade}. • Example: white → gray-950 • Example: black → gray-50 • This option only applies to white and black in the default Tailwind palette.

prefix (String)

• Default: 'x' • Changes the class name prefix (e.g., my-slate-100).

tailwindVersion (Number)

• Default: 4 • Set to 3 for Tailwind v3 projects so opacity modifiers like /50 are supported. • Note: v3 opacity uses color-mix(), so make sure your target browsers support it.

Defaults

Darkwind defaults to a symmetric, mathematically neutral inversion:

• offset: 0 • maxShade: 1000 • minShade: 0

🔧 Configuration Example (symmetric default)

For modern UI contrast, we recommend:

🔧 Configuration Example (modern)

Description from the npm listing.

  • tailwindcss
  • tailwindcss-plugin
  • darkmode
  • dark-mode
  • theme
  • darkwind
  • color-inversion

Where darkwind sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 107, #10 (overall #2130)
All npm: every listing in weekly downloads order
PNG SVG
Tailwind plugins251 listings · 13 pages · page 12, #8 (overall #228)
Tailwind plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

darkwind weekly downloads on npm, last 90 days: 3 weekly downloads as of Oct 17, 2026, -25.0% over 90 days.darkwindWeekly downloads on npm · Last 90 days3downloads / week-25.0% over 90 days05101520253035Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
darkwind weekly downloads on npm, last 90 days: 3 weekly downloads as of Oct 17, 2026, -25.0% over 90 days.
PNG SVG

7/30/90-day growth

darkwind weekly downloads growth on npm: 7-day growth unavailable, -66.7% over 30 days, -25.0% over 90 days.darkwindWeekly downloads growth on npm3downloads / week now7-day growth+3 weekly downloadsInsufficient history30-day growth-6 weekly downloads-66.7%90-day growth-1 weekly downloads-25.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
darkwind weekly downloads growth on npm: 7-day growth unavailable, -66.7% over 30 days, -25.0% over 90 days.
PNG SVG

Ranking history

darkwind npm ranking history: currently #2129 (by weekly downloads).darkwindnpm ranking · by weekly downloads · Last 90 days#2129current rank#2127#2128#2129#2130#2131Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
darkwind npm ranking history: currently #2129 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for darkwind
Date (UTC)Weekly downloadsChange vs. previous
30
3+1
20
20
20
2+1
1+1
00
0-1
10
1-1
20
20
2—

Similar npm Tailwind plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/darkwind. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.