{"library":"antd-theme-webpack-plugin","type":"library","category":null,"description":"A webpack plugin that enables dynamic theme switching for Ant Design (antd) by generating color-specific Less/CSS files and injecting them into index.html. Version 1.3.9, stable but in maintenance mode; last updated in 2020. Works with webpack 4 or 5. Key differentiator: allows runtime theme variable changes (like @primary-color) without rebuilding the app, unlike compile-time theme customization. Uses client-side Less.js to recompile styles in the browser. Requires JavaScript enabled in less-loader and specific project structure.","language":"javascript","status":"maintenance","version":"1.3.9","tags":["javascript","antd","ant-design","less","lessjs","css","theme","dynamic-theme","webpack"],"last_verified":"Wed May 27","install":[{"cmd":"npm install antd-theme-webpack-plugin","imports":["const AntDesignThemePlugin = require('antd-theme-webpack-plugin');","const AntDesignThemePlugin = require('antd-theme-webpack-plugin');","new AntDesignThemePlugin({ antDir: __dirname + '/node_modules/antd', stylesDir: ... })"]},{"cmd":"yarn add antd-theme-webpack-plugin","imports":[]},{"cmd":"pnpm add antd-theme-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/mzohaibqc/antd-theme-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/antd-theme-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/antd-theme-webpack-plugin/compatibility"}}