Preparing for system design interviews?  Try bugzed.com →

vite-theme-color-replacer

JSON →
library 1.0.36 ·javascript
verified Jun 18, 2026

A Vite plugin for dynamically changing CSS theme colors at runtime without reload. Version 1.0.36, released under MIT. It extracts CSS rules containing specified colors during build and generates a separate CSS file that can be swapped in the browser. Supports hex, rgb, hsl color formats, works with Element UI/Element Plus via built-in utilities, and offers optional CSS injection or external file processing. Differentiates from CSS variables-based themes by targeting pre-existing selectors with high specificity. Requires Vite ^4.0.0, ^5.0.0, or ^6.0.0 as a peer dependency.

total hits 11
actors 4 distinct systems
last hit 24d ago AhrefsBot
GPTBot
4
ClaudeBot
3
Script
1

top countries 🇺🇸 United States · 🇫🇷 France · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany