mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
style(X-Pack): 系统设置-外观配置切换主题色后按钮hover状态颜色错误
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user