Repository navigation
对话输入框升级为刻蚀纸面卡片质感 - #307
Merged
Merged
对话输入框升级为刻蚀纸面卡片质感#307
Conversation
- Theme 新增 weibeiComposerCard:在原形状上叠加纸面分层——顶部内高光、 底部内阴影、发丝外框、极薄材质层,投影改双层(贴地 2pt + 环境 10pt), 聚焦描边用应用统一的链接色,与 weibeiInputSurface 的刻蚀语言一致 - AgentComposerField 的平涂底色+单层描边/投影换成该修饰符,形状不变
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新增weibeiComposerCard(cornerRadius:focused:showsChrome:):把应用自家weibeiInputSurface的刻蚀语言放大到对话输入卡片——纸面渐变感分层填充 + 极薄材质层、顶部 1px 内高光、底部内阴影、发丝外框,投影改为双层(贴地 2pt + 环境 10pt,卡片“坐”在线程纸上),聚焦时描边换成与全部其他输入框统一的链接色。NotesAgentView.swift:AgentComposerField原来的平涂底色 + 单层描边/投影链替换为该修饰符,一处调用;圆角、伸缩、行为全部不变。未做内容
冻结文件预算
NotesAgentView.swift净变化约 -16 行(28 行改动,替换为 4 行调用),远低于 +50 行/PR 预算。ContentView.swift、WorkspaceStore.swift等均未触碰)。验证
swift build通过。轻量冒烟