feat: update

This commit is contained in:
xiaoxian521 2021-10-29 13:48:37 +08:00
parent 02f2cd9747
commit 71bd7e89d4
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
// 极光绿 // 极光绿
$subMenuActiveText: #409eff; $subMenuActiveText: #409eff;
$menuBg: #93f9b9; $menuBg: #38ef7d;
$menuHover: #e0ebf6; $menuHover: #e0ebf6;
$subMenuBg: #fff; $subMenuBg: #fff;
$subMenuHover: #e0ebf6; $subMenuHover: #e0ebf6;

View File

@ -1,7 +1,7 @@
// 酱紫 // 酱紫
$subMenuActiveText: #409eff; $subMenuActiveText: #409eff;
$menuBg: #232526; $menuBg: #000046;
$menuHover: #e0ebf6; $menuHover: #e0ebf6;
$subMenuBg: #fff; $subMenuBg: #fff;
$subMenuHover: #e0ebf6; $subMenuHover: #e0ebf6;

View File

@ -23,15 +23,15 @@ export const injectResponsiveStorage = (app: App, config: ServerConfigs) => {
locale: { locale: {
type: Object, type: Object,
default: Storage.getData(undefined, "locale") ?? { default: Storage.getData(undefined, "locale") ?? {
locale: config.Locale locale: config.Locale ?? "zh"
} }
}, },
// layout模式以及主题 // layout模式以及主题
layout: { layout: {
type: Object, type: Object,
default: Storage.getData(undefined, "layout") ?? { default: Storage.getData(undefined, "layout") ?? {
layout: config.Layout, layout: config.Layout ?? "vertical",
theme: config.Theme theme: config.Theme ?? "default"
} }
} }
}); });