Blame view

src/enums/appEnum.ts 738 Bytes
vben authored
1
export const SIDE_BAR_MINI_WIDTH = 48;
vben authored
2
3
export const SIDE_BAR_SHOW_TIT_MINI_WIDTH = 80;
陈文彬 authored
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export enum ContentEnum {
  // auto width
  FULL = 'full',
  // fixed width
  FIXED = 'fixed',
}

// app current theme
export enum ThemeModeEnum {
  LIGHT = 'light-mode',
  DARK = 'dark-mode',
  SEMI_DARK = 'semi-dark-mode',
}
vben authored
18
19
20
21
22
23
24
// menu theme enum
export enum ThemeEnum {
  DARK = 'dark',

  LIGHT = 'light',
}
陈文彬 authored
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
 * 权限模式
 */
export enum PermissionModeEnum {
  // role
  ROLE = 'ROLE',
  // black
  BACK = 'BACK',
}

//  Route switching animation
export enum RouterTransitionEnum {
  ZOOM_FADE = 'zoom-fade',
  ZOOM_OUT = 'zoom-out',
39
  FADE_SIDE = 'fade-slide',
陈文彬 authored
40
41
  FADE = 'fade',
  FADE_BOTTOM = 'fade-bottom',
vben authored
42
  FADE_SCALE = 'fade-scale',
陈文彬 authored
43
}