forked from github/dataease
Merge pull request #8900 from dataease/pr@dev-v2@style_xpack_appearance_btn_hover
style(X-Pack): 系统设置-外观配置切换主题色后按钮hover状态颜色错误
This commit is contained in:
commit
9e84e45f78
@ -160,6 +160,12 @@ export const useAppearanceStore = defineStore('appearanceStore', {
|
||||
)
|
||||
} else if (document.documentElement.style.getPropertyValue('--ed-color-primary')) {
|
||||
document.documentElement.style.setProperty('--ed-color-primary', '#3370FF')
|
||||
document.documentElement.style.removeProperty('--ed-color-primary-light-3')
|
||||
document.documentElement.style.removeProperty('--ed-color-primary-light-5')
|
||||
document.documentElement.style.removeProperty('--ed-color-primary-1a')
|
||||
document.documentElement.style.removeProperty('--ed-color-primary-33')
|
||||
document.documentElement.style.removeProperty('--ed-color-primary-99')
|
||||
document.documentElement.style.removeProperty('--ed-color-primary-dark-2')
|
||||
}
|
||||
this.bg = data.bg
|
||||
this.login = data.login
|
||||
|
Loading…
Reference in New Issue
Block a user