mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-23 18:14:32 +08:00
feat(theme): 新增按钮水波纹样式配置选项
添加按钮水波纹效果的自定义配置功能,支持默认、禁用、内嵌、抖动和欢乐五种样式。用户可在主题设置中选择不同效果,增强交互视觉体验。 - 在主题配置类型中添加 buttonWaveMode 字段 - 新增按钮水波纹配置组件和样式实现 - 更新中英文国际化文本 - 在应用配置中集成水波纹效果
This commit is contained in:
@@ -110,6 +110,7 @@ const defaultPreferences: Preferences = {
|
||||
},
|
||||
theme: {
|
||||
builtinType: 'default',
|
||||
buttonWaveMode: 'Default',
|
||||
colorDestructive: 'hsl(348 100% 61%)',
|
||||
colorPrimary: 'hsl(215 100% 54%)',
|
||||
colorSuccess: 'hsl(144 57% 58%)',
|
||||
|
||||
@@ -231,6 +231,8 @@ interface TabbarPreferences {
|
||||
interface ThemePreferences {
|
||||
/** 内置主题名 */
|
||||
builtinType: BuiltinThemeType;
|
||||
/** 按钮波纹模式 */
|
||||
buttonWaveMode: 'Default' | 'Disabled' | 'Happy' | 'Inset' | 'Shake';
|
||||
/** 错误色 */
|
||||
colorDestructive: string;
|
||||
/** 主题色 */
|
||||
|
||||
Reference in New Issue
Block a user