vite-theme-color-replacer
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 11
actors 4 distinct systems
last hit 24d ago AhrefsBot
top countries 🇺🇸 United States · 🇫🇷 France · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany
Resources
API endpoints
compatibility /v1/registry/vite-theme-color-replacer/compatibility