Uh oh!
There was an error while loading. Please reload this page.
restyle(ui): Mobbin design language — capsule controls, mono ink CTA, soft float shadows - #715
Closed
jackwener wants to merge 1 commit into
Closed
restyle(ui): Mobbin design language — capsule controls, mono ink CTA, soft float shadows#715jackwener wants to merge 1 commit into
jackwener wants to merge 1 commit into
Conversation
… soft float shadows Full visual restyle to the Mobbin language (UX/flows/DOM untouched). Extraction doc: notes/mobbin-design-language.md — measured via computed styles on mobbin.com (fonts, type scale, washes, radii, shadows, motion). Token layer (maka-tokens.css): - radius: control 6→999px capsule / surface 8→12 / modal 12→20; tier structure + SELECTOR_TIER map unchanged, values only - shadows: 3-5 layer stacks → Mobbin two-recipe (ring + 0 1px 2px @4% chip; ring + 0 8px 40px @4% float; modal adds one deep layer) - mono CTA: --action/--control/--brand-deep/--nav-active/--toast-accent ride the foreground/background ink pair (dark inverts to light pill — Mobbin dark convention); --accent stays for link/focus-ring/running; status colors untouched (#651 restraint rule) - composer gets the float shadow (Mobbin search-capsule feel) Capsule fallout re-tier (audited every radius-control call site): multi-line cards/code/textarea/note strips → surface; icon tiles → calc(surface-6px); checkboxes → calc(surface-8px) so they stay square; textareas split from shared input selectors; badge chips stay capsule (Mobbin New/Updated chips are pills — "never pills" doctrine retired). Contracts updated with the redesign: radius-converge (999/12/20/999), 406 governance (mono ink CTA pair + load-tool → surface), settings-form-a11y wording; docs/design-system.md §1.4 + CTA rationale. Verification: 2297 desktop tests pass, dead-css 0, visual smoke swept across chat/skills/settings/onboarding/permission/daily-review in light + dark.
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 freeto 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.
目标
对整个 app 做 Mobbin 风格的视觉重构:UX、流程、DOM 结构一律不动,只改视觉。
设计提取文档:
notes/mobbin-design-language.md— 用 Chrome 对 mobbin.com 实测getComputedStyle得出(字体族/类型标尺/洗色/圆角/阴影/动效均为测量值,非目测)。Mobbin 语言 → maka 落地
--radius-control6→999px(capsule)0 1px 2px @4%chip /0 8px 40px @4%浮卡--action/--control= 墨/纸对;dark 自动反相为浅色药丸--nav-active/--toast-accent并入单色墨族;--accent只留链接/focus ring/运行态Capsule 副作用清理
对全部 60+ 个
--radius-control调用点做了逐一分类审计:calc(var(--radius-surface)-6px);复选框 →calc(-8px)保持方形契约同步
radius-converge-contract:pin 999/12/20/999,.enabledEmptyChip重新归 tierdesign-system-governance-406-contract:mono ink CTA 对 + load-tool 卡 → surfacesettings-form-a11y-contract:措辞更新(capsule 语言)docs/design-system.md§1.4 圆角表 + CTA 理由重写验证
🤖 Generated with Claude Code