feat(projects): 主题配置抽屉:迁移暗黑模式、布局模式、添加颜色选择面板

This commit is contained in:
Soybean
2022-01-09 12:20:08 +08:00
parent bf020a8258
commit 912bfdf439
21 changed files with 987 additions and 89 deletions

13
src/settings/color.ts Normal file
View File

@@ -0,0 +1,13 @@
import colorJson from './color.json';
interface TraditionColorDetail {
label: string;
color: string;
}
interface TraditionColor {
label: string;
data: TraditionColorDetail[];
}
/** 中国传统颜色 */
export const traditionColors = colorJson as TraditionColor[];