fix#修复修改主题为light-theme后菜单栏选中菜单名称不显示问题

修改主题theme.js中颜色和次要颜色逻辑
This commit is contained in:
redoing
2024-08-08 11:03:25 +08:00
parent 4b26a5ddcc
commit bbc545494b
+1 -1
View File
@@ -80,7 +80,7 @@ layui.define(["jquery","layer"], function (exports) {
style += '.pear-btn:hover {color: '+color+';background-color: ' + second + ';}'
style += '.pear-btn-primary[plain] {color: '+ color +' !important;background: ' + second + ' !important;}'
style += '.pear-btn-primary[plain]:hover {background-color: ' + color + '!important}'
style += '.light-theme .pear-nav-tree .layui-this a:hover,.light-theme .pear-nav-tree .layui-this,.light-theme .pear-nav-tree .layui-this a {background-color:'+second+'!important;color:'+color+'!important;}'
style += '.light-theme .pear-nav-tree .layui-this a:hover,.light-theme .pear-nav-tree .layui-this,.light-theme .pear-nav-tree .layui-this a {background-color:'+color+'!important;color:'+second+'!important;}'
style += '.light-theme .pear-nav-tree .layui-this{ border-right: 3px solid '+color+'!important}'
style += '.loader:after {background:'+color+'}'
style += '.layui-laydate .layui-this, .layui-laydate .layui-this>div{background:'+color+'!important}'