ci(other): cicd
This commit is contained in:
9
public/resource/loading.js
Normal file
9
public/resource/loading.js
Normal file
@@ -0,0 +1,9 @@
|
||||
function addThemeColorCssVars() {
|
||||
const key = '__THEME_COLOR__'
|
||||
const defaultColor = '#316c72'
|
||||
const themeColor = window.localStorage.getItem(key) || defaultColor
|
||||
const cssVars = `--primary-color: ${themeColor}`
|
||||
document.documentElement.style.cssText = cssVars
|
||||
}
|
||||
|
||||
addThemeColorCssVars()
|
||||
Reference in New Issue
Block a user