main
ts 27 lines 627 Bytes
Raw
1 export enum Layout {
2 VerticalNav = "VerticalNav",
3 Blank = "Blank"
4 }
5
6 export enum RouterTransition {
7 Fade = "fade",
8 FadeUp = "fade-up",
9 FadeBottom = "fade-bottom",
10 FadeLeft = "fade-left",
11 FadeRight = "fade-right"
12 }
13
14 export enum ThemeNameEnum {
15 Dark = "dark",
16 Light = "light"
17 }
18
19 export type ColorScene = "" | "Suppl" | "Hover" | "Pressed"
20 export type ColorType = "primary" | "success" | "warning" | "error" | "info"
21 export type ColorKey = `${ColorType}Color${ColorScene}`
22 export type ThemeColor = Partial<Record<ColorKey, string>>
23
24 export interface ColorAction {
25 scene: ColorScene
26 handler: (color: string) => string
27 }