vite-plugin-theme icon indicating copy to clipboard operation
vite-plugin-theme copied to clipboard

Vite plugin for dynamically changing the theme color of the interface

Results 23 vite-plugin-theme issues
Sort by recently updated
recently updated
newest added

This Plugin is not working with Vite 3.1.0. I think it's related to [this commit](https://github.com/vitejs/vite/commit/2d2f2e5)

change heme color not working on production mode. is alway empty. dev mode normal working

如果项目只用到了antdDarkThemePlugin这个插件则viteThemePlugin里的代码就不用运行,这就会导致__COLOR_PLUGIN_OUTPUT_FILE_NAME__ 等变量没有值

fix bug #27 修复 vite 升级 3 版本后插件出现变量未定义的报错。 fix bug #26 修复生产环境切换主题失效的问题。

暗黑主题模式下,背景色被覆盖了,导致没生效 ![37aad6e634776cf10f8a0d23c6bad9c0](https://user-images.githubusercontent.com/26177202/226160867-a2ed7979-5f04-44a0-acce-02c0040e9944.png) 如何在其前面加 html[data-theme=dark]提高优先级?

![image](https://github.com/vbenjs/vite-plugin-theme/assets/45170904/d2c546c7-0392-48ef-9ee3-28095b1c401e) 在 pnpm monorepo项目下, vite-plugin-theme 的安装安装位置在根目录路的node_modules 下, 而这里引用的是根目录下的路径会导致下图引用错误 ![image](https://github.com/vbenjs/vite-plugin-theme/assets/45170904/33533a8b-0820-40f1-86d4-77e4bd317db6)

想请问下,这是qinkun的问题,还是这个插件的问题 ![image](https://user-images.githubusercontent.com/18065659/181437392-faf8447a-8b1b-4231-a24a-23e4c55fc46d.png) ![image](https://user-images.githubusercontent.com/18065659/181437418-13f2f951-8b5c-43e1-8e7c-7da8d6f6ec3b.png)

示例项目vben切换系统主题颜色功能在dev模式可以,生产环境无效。vben的在线预览项目切换主题颜色功能也无效。

vite2.6.x和2.7.x版本build后输出的文件内容空白(导致生成环境下换肤失效),2.5.x是正常的。 开发环境下是正常的。