mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): new layout,tab and add update theme settings
This commit is contained in:
4
src/typings/system.d.ts
vendored
4
src/typings/system.d.ts
vendored
@ -92,6 +92,10 @@ declare namespace Theme {
|
||||
followSystemTheme: boolean;
|
||||
/** 布局样式 */
|
||||
layout: Layout;
|
||||
/** 滚动模式 */
|
||||
scrollMode: UnionKey.ThemeScrollMode;
|
||||
/** 滚动模式列表 */
|
||||
scrollModeList: Common.OptionWithKey<UnionKey.ThemeScrollMode>[];
|
||||
/** 主题颜色 */
|
||||
themeColor: string;
|
||||
/** 主题颜色列表 */
|
||||
|
7
src/typings/union-key.d.ts
vendored
7
src/typings/union-key.d.ts
vendored
@ -28,6 +28,13 @@ declare namespace UnionKey {
|
||||
*/
|
||||
type ThemeLayoutMode = 'vertical' | 'horizontal' | 'vertical-mix' | 'horizontal-mix';
|
||||
|
||||
/**
|
||||
* 内容溢出时的出现滚动条的方式
|
||||
* - wrapper 布局组件最外层的元素出现滚动条
|
||||
* - content 主体内容组件出现滚动条
|
||||
*/
|
||||
type ThemeScrollMode = 'wrapper' | 'content';
|
||||
|
||||
/**
|
||||
* 多页签风格
|
||||
* - chrome: 谷歌风格
|
||||
|
Reference in New Issue
Block a user