forked from github/dataease
style(X-Pack): 系统设置-外观配置切换主题色后按钮hover状态颜色错误
This commit is contained in:
parent
e4796e77d4
commit
d413899fad
@ -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