mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(components): 添加主题配置抽屉,添加暗黑主题
This commit is contained in:
9
src/enum/animate.ts
Normal file
9
src/enum/animate.ts
Normal file
@ -0,0 +1,9 @@
|
||||
/** 动画类型 */
|
||||
export enum EnumAnimate {
|
||||
'zoom-fade' = '渐变',
|
||||
'zoom-out' = '闪现',
|
||||
'fade-slide' = '滑动',
|
||||
'fade' = '消退',
|
||||
'fade-bottom' = '底部消退',
|
||||
'fade-scale' = '缩放消退'
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
/** 请求头的content-type类型 */
|
||||
/** http请求头的content-type类型 */
|
||||
export enum ContentType {
|
||||
json = 'application/json',
|
||||
formUrlencoded = 'application/x-www-form-urlencoded',
|
||||
|
@ -1 +1,3 @@
|
||||
export { ContentType } from './common';
|
||||
export { EnumAnimate } from './animate';
|
||||
export { EnumNavMode, EnumNavTheme } from './theme';
|
||||
|
13
src/enum/theme.ts
Normal file
13
src/enum/theme.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/** 导航模式 */
|
||||
export enum EnumNavMode {
|
||||
'vertical' = '左侧菜单模式',
|
||||
'horizontal' = '顶部菜单模式',
|
||||
'horizontal-mix' = '顶部菜单混合模式'
|
||||
}
|
||||
|
||||
/** 导航风格 */
|
||||
export enum EnumNavTheme {
|
||||
'dark' = '暗色侧边栏',
|
||||
'light' = '白色侧边栏',
|
||||
'header-dark' = '暗色的侧边栏和顶栏'
|
||||
}
|
Reference in New Issue
Block a user