feat: 新增深蓝色主题模式

This commit is contained in:
pany
2022-10-21 18:02:20 +08:00
parent f3fd669cad
commit e71967eaf8
6 changed files with 50 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ interface IThemeList {
}
/** 注册的主题名称, 其中 normal 是必填的 */
export type ThemeName = "normal" | "dark"
export type ThemeName = "normal" | "dark" | "dark-blue"
/** 主题 hook */
export function useTheme() {
@@ -20,6 +20,10 @@ export function useTheme() {
{
title: "黑暗",
name: "dark"
},
{
title: "深蓝",
name: "dark-blue"
}
]
/** 正在应用的主题名称 */