{"library":"webpack-theme-color-replacer","type":"library","category":null,"description":"A webpack plugin (v1.5.7) that replaces theme colors in CSS at runtime, enabling live theme switching without a full rebuild. It extracts color values from CSS, injects runtime CSS variables, and replaces them via JavaScript. Suitable for single-page applications needing dynamic theming. Compared to CSS custom properties alone, it handles legacy CSS and integrates with webpack's build process. Maintained with moderate release cadence.","language":"javascript","status":"active","version":"1.5.7","tags":["javascript","webpack","theme","color","replacer","runtime"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install webpack-theme-color-replacer","imports":["const ThemeColorReplacer = require('webpack-theme-color-replacer');","const client = require('webpack-theme-color-replacer/client');","const ThemeColorReplacer = require('webpack-theme-color-replacer').default;"]},{"cmd":"yarn add webpack-theme-color-replacer","imports":[]},{"cmd":"pnpm add webpack-theme-color-replacer","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-theme-color-replacer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}