feat: 新增主题颜色选择

This commit is contained in:
MTrun
2022-03-12 18:46:51 +08:00
parent c3e5117b31
commit e2e72ff9fd
14 changed files with 8682 additions and 28 deletions
File diff suppressed because it is too large Load Diff
+4 -21
View File
@@ -1,35 +1,18 @@
import { LangEnum } from '@/enums/styleEnum'
import designColor from './designColor.json'
// 默认语言
export const lang = LangEnum.zh
// 主体色
export const appThemeList: string[] = [
'#2d8cf0',
'#0960bd',
'#0084f4',
'#009688',
'#536dfe',
'#ff5c93',
'#ee4f12',
'#0096c7',
'#9c27b0',
'#ff9800',
'#FF3D68',
'#00C1D4',
'#71EFA3',
'#171010',
'#78DEC7',
'#1768AC',
'#FB9300',
'#FC5404'
]
export const appThemeList = designColor
export const theme = {
// 默认是否开启深色主题
darkTheme: true,
//系统主题色
//默认主题色
appTheme: '#51d6a9',
appThemeDetail: null,
//系统内置主题色列表
appThemeList
}