Repository navigation
fix(inkSwitch): remap size scale so md matches previous sm - #68
Merged
Merged
Conversation
The md tier (100x36) was oversized relative to the 12px label font and surrounding form controls, which made the default switch read as 'large' in dense settings forms. Shift the scale down: md := 80x24 (old sm), lg := 100x36 (old md), sm := 64x24, base/xs := 48x20. Visually breaking for consumers that depended on the old md/lg rendered sizes.
This branch was successfully deployed
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.
问题
InkSwitch 的
md档(100×36)相对 12px 的 label 字体和周围表单控件明显过大,默认档在设置页这类密集表单里观感是"大"而不是"中"(InKCre/impl-ts 遥测开关的实际反馈)。改动
尺寸梯度整体下移:
旧 lg(120×48)不再有档位承接——impl-ts 与 stories 均无 lg 使用。
影响
对依赖旧 md/lg 渲染尺寸的消费方是视觉性变更(minor + changeset 已注明)。impl-ts 侧将由配套 PR bump 到本版本并移除遥测开关上的临时
size="sm"(新默认 md 即目标观感)。