主题色微调

This commit is contained in:
fofolee 2022-04-05 12:44:01 +08:00
parent 981027de53
commit 18dc387cf0
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,8 @@ import programmings from '../js/programs.js';
// 配置数据存取
let defaultProfile = {
commandCardStyle: "normal",
primaryColor: "#419488"
primaryColor: "#009688",
defaultPrimaryColor: "#009688",
}
let userProfile = UTOOLS.getDB(
UTOOLS.DBPRE.CFG + "preferences"

View File

@ -247,7 +247,7 @@ export default {
this.setCssVar("primary", this.$profile.primaryColor);
},
resetPrimary() {
this.$profile.primaryColor = "#419488";
this.$profile.primaryColor = this.$profile.defaultPrimaryColor;
this.setPrimaryColor();
},
},