Skip to content
PluginStats

tailwind-css-variables-theme-generator weekly downloads statistics

By sonofmagic (3 listings) · npm · Tailwind plugins

help you generate tailwindcss css variables utilities and change theme esaily by expose your scss variables

View on npm Fresh · Oct 17, 2026

tailwind-css-variables-theme-generator has 28 recorded weekly downloads on npm, a decrease of 33.3% over the past 30 days.

It ranks #1802 of 2,256 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +100%.

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

Weekly downloads
28
Official API · Oct 17, 2026
7-day growth
+7.7%
+2 weekly downloads
30-day growth
-33.3%
-14 weekly downloads
90-day growth
+100%
+14 weekly downloads
Rank
#1802
Among tracked npm listings

About tailwind-css-variables-theme-generator

tailwind-css-variables-theme-generator

English

一种基于 tailwindcss 的 just-in-time 模式的动态多主题色快速生成,和管理方案。

• tailwind-css-variables-theme-generator • 特性 • 使用方式 • 安装 • 准备需要被暴露的变量文件 • 作为 Tailwindcss Plugin 来使用 • 作为 Nodejs 脚本来使用 • 原理

特性

• 可作为 tailwindcss 插件运行, tailwindcss IDE 智能提示插件友好 • 全局的 scss 变量注入 (additionalData) • 生成 scss 工具类,方案自由可完全由前端或者后端数据自定义

使用方式

安装

准备需要被暴露的变量文件

1. 创建一个或者多个 sass:map:

小技巧:你可以直接从 chrome devtool 把其他网站,所有的变量全部复制下来之后,只要把 ';' 符号替换成 ',',就快速产生了一个 sass:map。

2. 把这些数据提取出来

这样数据部分就准备完成了!

作为 Tailwindcss Plugin 来使用

在 tailwind.config.js 中引入,并添加配置:

添加后,插件会自动去修改 theme.extend.colors 和 @tailwind base;,把主题颜色和css变量,自动注入进来。

这时候你就可以写:

默认的生成类名为tailwindcss变量前缀(text,bg,border...),加自定义变量名

插件会自动生成 css:

当然工具类的名称是可以自定义的,比如要去除 -color- 这样的变量前缀,就可以这样配置:

这样,上述的类名就变成了这样:

作为 Nodejs 脚本来使用

当作为 Nodejs 脚本来使用时,核心表现为生成文件,让用户自定义引入哪些文件进行使用。

例如:

当然也有更精细的文件生成配置:

接着,你只需要把这些文件,各自引入即可,比如:

• extendColors.js: • variables.scss • root.scss | export.scss | util.scss

全局引入的变量,工具类模板,可生成后,根据各自项目的情况自行修改。

原理

动态调整web系统主题? 看这一篇就够了

动态调整web主题(2) 萃取篇

customizing-colors#using-css-variables

Description from the npm listing.

  • tailwindcss
  • css
  • generator
  • theme
  • variables
  • tailwindcss theme
  • tailwindcss-utility
  • tailwindcss-plugin
  • css variables
  • tailwindcss multi theme

Where tailwind-css-variables-theme-generator 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,256 listings · 113 pages · page 91, #3 (overall #1803)
All npm: every listing in weekly downloads order
PNG SVG
Tailwind plugins252 listings · 13 pages · page 5, #2 (overall #82)
Tailwind plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

tailwind-css-variables-theme-generator weekly downloads on npm, last 90 days: 28 weekly downloads as of Oct 17, 2026, +100% over 90 days.tailwind-css-variables-theme-generatorWeekly downloads on npm · Last 90 days28downloads / week+100% over 90 days01020304050Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
tailwind-css-variables-theme-generator weekly downloads on npm, last 90 days: 28 weekly downloads as of Oct 17, 2026, +100% over 90 days.
PNG SVG

7/30/90-day growth

tailwind-css-variables-theme-generator weekly downloads growth on npm: +7.7% over 7 days, -33.3% over 30 days, +100% over 90 days.tailwind-css-variables-theme-generatorWeekly downloads growth on npm28downloads / week now7-day growth+2 weekly downloads+7.7%30-day growth-14 weekly downloads-33.3%90-day growth+14 weekly downloads+100%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
tailwind-css-variables-theme-generator weekly downloads growth on npm: +7.7% over 7 days, -33.3% over 30 days, +100% over 90 days.
PNG SVG

Ranking history

tailwind-css-variables-theme-generator npm ranking history: currently #1802 (by weekly downloads).tailwind-css-variables-theme-generatornpm ranking · by weekly downloads · Last 90 days#1802current rank#1794#1796#1798#1800#1802#1804Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
tailwind-css-variables-theme-generator npm ranking history: currently #1802 (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 tailwind-css-variables-theme-generator
Date (UTC)Weekly downloadsChange vs. previous
28-1
29+25
4-5
9-1
100
10-17
27+1
26-3
29-5
34+5
290
290
29+18
11—

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/tailwind-css-variables-theme-generator. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.