goview_vue/src/settings/designSetting.ts

35 lines
787 B
TypeScript
Raw Normal View History

import { LangEnum } from '@/enums/styleEnum'
2022-03-12 18:46:51 +08:00
import designColor from './designColor.json'
// 默认语言
export const lang = LangEnum.zh
2021-12-10 14:11:49 +08:00
2021-12-14 20:00:20 +08:00
export const theme = {
2021-12-18 16:36:43 +08:00
// 默认是否开启深色主题
2021-12-14 20:00:20 +08:00
darkTheme: true,
2022-03-12 18:46:51 +08:00
//默认主题色
2021-12-20 13:36:54 +08:00
appTheme: '#51d6a9',
2022-03-12 18:46:51 +08:00
appThemeDetail: null,
}
2021-12-10 14:11:49 +08:00
2021-12-20 14:29:29 +08:00
// dialog 图标的大小
export const dialogIconSize = '20'
2021-12-18 16:36:43 +08:00
// 侧边栏宽度
2021-12-18 22:05:00 +08:00
export const asideWidth = '270'
2021-12-18 16:36:43 +08:00
2022-01-08 15:00:52 +08:00
// 侧边栏折叠后的宽度,支持全部折叠会覆盖为 0
2022-01-16 15:28:33 +08:00
export const asideCollapsedWidth = 60
2022-01-08 14:27:56 +08:00
2022-01-15 16:07:46 +08:00
// 弹窗是否可以通过点击遮罩关闭
export const maskClosable = false
2021-12-14 20:00:20 +08:00
// 修改边框圆角
2021-12-20 13:36:54 +08:00
export const borderRadius = '6px'
2021-12-15 14:25:28 +08:00
// 轮播间隔
export const carouselInterval = 4000
// 工作台大屏背景图片大小限制5M
export const backgroundImageSize = 5