feat: 登录提示语根据语言设置&&主题颜色保存

Former-commit-id: d31b3c6adc4e620b4509e46119c43e64b53e48ad
This commit is contained in:
april
2023-09-26 18:24:04 +08:00
parent 4e8d9f744d
commit 07f189f585
6 changed files with 93 additions and 12 deletions

View File

@@ -40,6 +40,11 @@ interface DefaultSettings {
* 语言( zh-cn| en)
*/
language: string;
/**
* 主题颜色
*/
themeColor: string;
}
const defaultSettings: DefaultSettings = {
@@ -52,6 +57,7 @@ const defaultSettings: DefaultSettings = {
theme: "light", // 默认暗黑模式
size: "default",
language: "zh-cn",
themeColor: "#409EFF",
};
export default defaultSettings;