mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-02 02:24:29 +00:00
feat: dark mode
This commit is contained in:
4
types/config.d.ts
vendored
4
types/config.d.ts
vendored
@@ -8,7 +8,6 @@ import {
|
||||
} from '/@/enums/appEnum';
|
||||
|
||||
import { CacheTypeEnum } from '/@/enums/cacheEnum';
|
||||
import { ThemeMode } from '../build/config/themeConfig';
|
||||
|
||||
export type LocaleType = 'zh_CN' | 'en' | 'ru' | 'ja' | 'ko';
|
||||
|
||||
@@ -83,6 +82,8 @@ export interface ProjectConfig {
|
||||
permissionCacheType: CacheTypeEnum;
|
||||
// Whether to show the configuration button
|
||||
showSettingButton: boolean;
|
||||
// Whether to show the theme switch button
|
||||
showDarkModeToggle: boolean;
|
||||
// Configure where the button is displayed
|
||||
settingButtonPosition: SettingButtonPositionEnum;
|
||||
// Permission mode
|
||||
@@ -94,7 +95,6 @@ export interface ProjectConfig {
|
||||
// Theme color
|
||||
themeColor: string;
|
||||
|
||||
themeMode: ThemeMode;
|
||||
// The main interface is displayed in full screen, the menu is not displayed, and the top
|
||||
fullContent: boolean;
|
||||
// content width
|
||||
|
Reference in New Issue
Block a user