mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 新增主题配置
This commit is contained in:
33
src/settings/theme/index.ts
Normal file
33
src/settings/theme/index.ts
Normal file
@ -0,0 +1,33 @@
|
||||
import type { ThemeSettings } from '@/interface';
|
||||
|
||||
const themeColorList = [
|
||||
'#2d8cf0',
|
||||
'#0960bd',
|
||||
'#0084f4',
|
||||
'#009688',
|
||||
'#536dfe',
|
||||
'#ff5c93',
|
||||
'#ee4f12',
|
||||
'#0096c7',
|
||||
'#9c27b0',
|
||||
'#ff9800',
|
||||
'#FF3D68',
|
||||
'#00C1D4',
|
||||
'#71EFA3',
|
||||
'#171010',
|
||||
'#78DEC7',
|
||||
'#1768AC',
|
||||
'#FB9300',
|
||||
'#FC5404'
|
||||
];
|
||||
|
||||
const themeSettings: ThemeSettings = {
|
||||
/** 深色主题 */
|
||||
darkMode: false,
|
||||
/** 系统主题色 */
|
||||
themeColor: themeColorList[0],
|
||||
/** 系统内置主题色列表 */
|
||||
themeColorList
|
||||
};
|
||||
|
||||
export default themeSettings;
|
Reference in New Issue
Block a user