Theme setting
| 9 | |
| 10 | /** Theme setting */ |
| 11 | interface ThemeSetting { |
| 12 | /** Theme scheme */ |
| 13 | themeScheme: UnionKey.ThemeScheme; |
| 14 | /** grayscale mode */ |
| 15 | grayscale: boolean; |
| 16 | /** colour weakness mode */ |
| 17 | colourWeakness: boolean; |
| 18 | /** Whether to recommend color */ |
| 19 | recommendColor: boolean; |
| 20 | /** Theme color */ |
| 21 | themeColor: string; |
| 22 | /** Theme radius */ |
| 23 | themeRadius: number; |
| 24 | /** Other color */ |
| 25 | otherColor: OtherColor; |
| 26 | /** Whether info color is followed by the primary color */ |
| 27 | isInfoFollowPrimary: boolean; |
| 28 | /** Layout */ |
| 29 | layout: { |
| 30 | /** Layout mode */ |
| 31 | mode: UnionKey.ThemeLayoutMode; |
| 32 | /** Scroll mode */ |
| 33 | scrollMode: UnionKey.ThemeScrollMode; |
| 34 | }; |
| 35 | /** Page */ |
| 36 | page: { |
| 37 | /** Whether to show the page transition */ |
| 38 | animate: boolean; |
| 39 | /** Page animate mode */ |
| 40 | animateMode: UnionKey.ThemePageAnimateMode; |
| 41 | }; |
| 42 | /** Header */ |
| 43 | header: { |
| 44 | /** Header height */ |
| 45 | height: number; |
| 46 | /** Header breadcrumb */ |
| 47 | breadcrumb: { |
| 48 | /** Whether to show the breadcrumb */ |
| 49 | visible: boolean; |
| 50 | /** Whether to show the breadcrumb icon */ |
| 51 | showIcon: boolean; |
| 52 | }; |
| 53 | /** Multilingual */ |
| 54 | multilingual: { |
| 55 | /** Whether to show the multilingual */ |
| 56 | visible: boolean; |
| 57 | }; |
| 58 | globalSearch: { |
| 59 | /** Whether to show the GlobalSearch */ |
| 60 | visible: boolean; |
| 61 | }; |
| 62 | }; |
| 63 | /** Tab */ |
| 64 | tab: { |
| 65 | /** Whether to show the tab */ |
| 66 | visible: boolean; |
| 67 | /** |
| 68 | * Whether to cache the tab |
nothing calls this directly
no outgoing calls
no test coverage detected