Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-22 20:09:19 +08:00
2022-08-24 16:52:01 +08:00

21 lines
368 B
TypeScript

/** 注册的主题, 其中 normal 是必须的, dark 是内置的, 如需更多主题,可自行注册 */
export type ThemeName = "normal" | "dark"
interface IThemeList {
title: string
name: ThemeName
}
const themeList: IThemeList[] = [
{
title: "默认",
name: "normal"
},
{
title: "黑暗",
name: "dark"
}
]
export default themeList