Repository navigation
弹窗动作按钮统一纸面语言;资料库安放卡刻蚀质感 - #319
Merged
Merged
Conversation
- Theme 新增 WeiBeiDialogButtonStyle:主按钮实心朱砂+米白文字 (与发送按钮同一实心语言),次按钮刻蚀底座+发丝框+悬停贴地投影; 28pt 高、controlRadius 圆角,禁用态各自弱化 - 资料库安放通知卡:卡片换 WeiBeiEtchedBackdrop+双层投影, 路径行包进刻蚀井,文字芯片按钮换成上述按钮对并按 macOS 惯例把主动作放右侧 - 课程记录保存弹层、设置迁移确认的 .borderedProminent/ 系统按钮同步换新样式,全应用不再有系统默认按钮混入纸面语言
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
实际改动
Theme.swift新增WeiBeiDialogButtonStyle(prominence: .primary/.secondary):主按钮 = 实心朱砂填充 + 米白文字(与发送按钮同一实心语言,悬停略深、按压再深并轻缩);次按钮 = 刻蚀底座(纸面填充+顶部反光+底部内阴影+发丝框)+悬停贴地投影。28pt 高、controlRadius 圆角、12pt 文字;禁用态各自弱化。EmptyWorkspaceLauncherView.swift资料库安放通知卡:卡片底换WeiBeiEtchedBackdrop+ 双层投影(贴地 2pt + 环境 10pt);文件夹路径行包进刻蚀井(paperInset 0.32 + 发丝框);"就用这里/换个位置"从 24pt 文字芯片换成上述按钮对,并按 macOS 惯例把主动作放到右侧、次动作在左。CourseRecordsView.swift:"保存修改"的.borderedProminent→.primary,"取消" →.secondary。SettingsView.swift:"开始迁移"的.borderedProminent→.primary,"取消" →.secondary。全应用不再有系统默认按钮混入纸面语言。未做内容
WeiBeiTextActionButtonStyle原有小芯片按钮(用于行内次级动作,场景不同)。共享核心文件占用
验证
swift build通过(仅存量警告)。轻量冒烟