{"library":"vite-theme-color-replacer","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.36","tags":["javascript","vite","theme","color","replacer","runtime","dynamic","element-ui","element-plus","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-theme-color-replacer","imports":["import viteThemeColorReplacer from 'vite-theme-color-replacer'","import { getElementUISeries } from 'vite-theme-color-replacer/forElementUI'","import { changer } from 'vite-theme-color-replacer/client'","import { changeElementUISelector } from 'vite-theme-color-replacer/forElementUI'"]},{"cmd":"yarn add vite-theme-color-replacer","imports":[]},{"cmd":"pnpm add vite-theme-color-replacer","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-theme-color-replacer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}