darkwind weekly downloads statistics
By jmnote · npm · Tailwind plugins
A Tailwind CSS plugin for automatic inverted dark mode colors.
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.
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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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)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.