Update: (步骤备份)更改主题色通知方式
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script>
|
||||
// 自动变换主题色
|
||||
const variableKey = "--global-primary-color";
|
||||
const variableVal = localStorage.getItem("theme-color-color");
|
||||
document.documentElement.style.setProperty(variableKey, variableVal);
|
||||
|
||||
Reference in New Issue
Block a user