vite-plugin-theme
JSON →Vite plugin for dynamically changing theme colors at runtime. Version 0.8.6 requires Vite >=2.0.0 and Node >=12.0.0. It extracts specified color variables from CSS output at build time, generating a separate theme stylesheet (app-theme-style.css) that can be dynamically swapped via JavaScript. Unlike CSS custom properties or runtime CSS-in-JS approaches, this plugin works with static CSS and supports deep customization options like custom selector resolution and variable extraction logic. Released under MIT, maintained by Vben Admin team. Not actively updated since mid-2023.
Traffic · last 30 days ↓33% vs prev 7d
total hits 11
actors 3 distinct systems
last hit 4d ago Bingbot
top countries 🇺🇸 United States · 🇨🇦 Canada
Resources
API endpoints
full doc /v1/registry/vite-plugin-theme