-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
切换主题颜色无法对Button生效 #3251
Comments
@xiaoxx970 因为antd升级了主题系统,vben还是需要兼容之前的less,所以 |
@DesignHhuang 这样确实可以了,谢谢!以后会统一primaryColor的配置位置吗?现在有三个地方配置主题颜色的了:
Line 28 in 8ef39de
其中 projectSetting.ts 里的主题颜色看上去还是无用的 |
同类型的问题,菜单高亮处的颜色,无法配置或者设置。 |
兼容旧less部分的@primary-color有没有办法通过settingDrawer动态配置 |
虽然button 可以使用了,但是其他的诸如菜单等,还是需要手动调整。想问问这个近期有修复计划么? |
你有解决吗 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Describe the bug
在
src/App.vue
里把colorPrimary修改成 #00b96b(绿色)后没有效果,主题色没有改变。实验发现对于按钮来说,hover的颜色确实变成了我设置的颜色(#00b96b),而其他组件比如Radio和Checkbox是能成功应用主题颜色的。
如图,截图的时候我鼠标放在了左上角“更改设置”上,它就是绿色的了,但是和预期不符,我要改的是显示的颜色不是hover的颜色
Reproduction
在
src/App.vue
里把colorPrimary修改成 #00b96b(绿色)或其他任何颜色vue-vben-admin/src/App.vue
Line 28 in 8ef39de
System Info
MacOS 14.0
21.1.0
pnpm 8.10.2
相关issue
#3250
The text was updated successfully, but these errors were encountered: