Repository navigation
refactor(ui): share settings card and duplicated keyframes - #5318
Conversation
…yframes Hoist the byte-identical keyframes into app-ui style.css as ui-fade-out, ui-row-highlight, ui-row-flash and ui-breathe, drop the local copies and use --duration-flash for the provider and host row flash.
Move settings-common.css into app-components and export it, so the app-components settings panels can use the same settings-group card and sec-title as the desktop panels. Add a settings-group-divided modifier for groups whose rows are not .row, and replace the pp-group, re-group, mpv-group and pu-group cards and the matching title copies.
…h styles Move the plan row rules that PlanUsageCard and PlanUpgradeCard both declared into an exported plan-usage.css, share the providers loading state as settings-loading in settings-common.css, and move the sidebar locate flash overlay into a scoped lib/locate-flash.css used by WorkspaceGroup, PinnedSessionList and SessionListPanel.
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
commit: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9b7cf2a3f1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…efactor/keyframes-settings-card
* refactor(ui): replace legacy token aliases with v2 tokens Rewrite var() references to the value-identical v2 tokens and remove the alias declarations that no longer have references. --panel2, --star, --content-font-size and --code-font-size stay. * refactor(ui): share duplicated sidebar and chat styles Move identical declarations of the sidebar row buttons, drop-target cards, clamped-text toggles and sidebar empty states into shared scoped CSS files, and merge the chat message action buttons into one selector list. Reorder declarations in two unrelated rules so they no longer read as copies. Computed styles are unchanged. * refactor(ui): move hand-built buttons and checkboxes onto app-ui primitives (#5321) * refactor(ui): move back, terminal and pill buttons onto app-ui primitives * refactor(chat): use IconButton and Button for message and queue controls * refactor(admin): use Checkbox, Button and IconButton in session admin * refactor(ui): keep chat message action styles distinct after merge * refactor(ui): build the workspace picker on Menu (#5322) * refactor(ui): build the workspace picker on Menu Menu gains a register prop so hover cards and nested flyouts can skip the menu stack. MenuItem gains selected (selected background, trailing check, aria-selected / aria-checked by role) and description (muted second line). A new MenuSearch primitive renders the search row of searchable menus and emits navigate / escape. The conversation workspace picker is now a Menu dialog with MenuSearch and MenuItem rows: Escape closes it and returns focus to the chip, ArrowDown moves from the search into the rows, and arrows / Home / End move between rows. MultiSelectMenu uses MenuSearch; WorkspaceHoverCard and the SecondaryModelPicker menu and flyout paint their surface through Menu, with the hover card and flyout unregistered so tooltip suppression is unchanged. * test: drop the added workspace picker Escape case
…ttons (#5317) * refactor(app-ui): share one tooltip surface class TooltipBubble, the mention tooltip, the markdown link tooltip and the markdown code tooltip each repeated the same paint (position, z-index, padding, radius, inverted colours, font). The paint now lives once in .ui-tip-surface; each bubble keeps its own line-height, width cap, caret and clamp. * refactor: use Tooltip for title-only buttons and hints Replace native title attributes on action buttons and hint blocks with the app Tooltip so they follow the theme, the hover delay and keyboard focus: terminal tab bar, session admin pagination, queued message edit, plan path, host test command, host connect error, approval plan path, session PR link, canary branch pill, inspector heartbeat and type filters, cron notice header and plugin authorization error. * fix(app-components): keep queued message clamp through tooltip wrapper * refactor(ui): share settings card and duplicated keyframes (#5318) * refactor(ui): share fade-out, row highlight, row flash and breathe keyframes Hoist the byte-identical keyframes into app-ui style.css as ui-fade-out, ui-row-highlight, ui-row-flash and ui-breathe, drop the local copies and use --duration-flash for the provider and host row flash. * refactor(settings): share the settings group card and section title Move settings-common.css into app-components and export it, so the app-components settings panels can use the same settings-group card and sec-title as the desktop panels. Add a settings-group-divided modifier for groups whose rows are not .row, and replace the pp-group, re-group, mpv-group and pu-group cards and the matching title copies. * refactor(settings): share plan rows, provider loading and locate flash styles Move the plan row rules that PlanUsageCard and PlanUpgradeCard both declared into an exported plan-usage.css, share the providers loading state as settings-loading in settings-common.css, and move the sidebar locate flash overlay into a scoped lib/locate-flash.css used by WorkspaceGroup, PinnedSessionList and SessionListPanel. * fix(settings): keep group dividers above row border resets * refactor(ui): replace legacy token aliases with v2 tokens (#5319) * refactor(ui): replace legacy token aliases with v2 tokens Rewrite var() references to the value-identical v2 tokens and remove the alias declarations that no longer have references. --panel2, --star, --content-font-size and --code-font-size stay. * refactor(ui): share duplicated sidebar and chat styles Move identical declarations of the sidebar row buttons, drop-target cards, clamped-text toggles and sidebar empty states into shared scoped CSS files, and merge the chat message action buttons into one selector list. Reorder declarations in two unrelated rules so they no longer read as copies. Computed styles are unchanged. * refactor(ui): move hand-built buttons and checkboxes onto app-ui primitives (#5321) * refactor(ui): move back, terminal and pill buttons onto app-ui primitives * refactor(chat): use IconButton and Button for message and queue controls * refactor(admin): use Checkbox, Button and IconButton in session admin * refactor(ui): keep chat message action styles distinct after merge * refactor(ui): build the workspace picker on Menu (#5322) * refactor(ui): build the workspace picker on Menu Menu gains a register prop so hover cards and nested flyouts can skip the menu stack. MenuItem gains selected (selected background, trailing check, aria-selected / aria-checked by role) and description (muted second line). A new MenuSearch primitive renders the search row of searchable menus and emits navigate / escape. The conversation workspace picker is now a Menu dialog with MenuSearch and MenuItem rows: Escape closes it and returns focus to the chip, ArrowDown moves from the search into the rows, and arrows / Home / End move between rows. MultiSelectMenu uses MenuSearch; WorkspaceHoverCard and the SecondaryModelPicker menu and flyout paint their surface through Menu, with the hover card and flyout unregistered so tooltip suppression is unchanged. * test: drop the added workspace picker Escape case
…and Switch (#5316) * refactor(app-ui): render user avatars and mobile toggles with Avatar and Switch Avatar gains src with a built-in load-failure fallback icon that resets when src changes, an lg (40px) size, a borderless circle shape and a fallbackIcon prop. UserMenu, the Settings account row, the mobile settings sheet and the font preview now use it instead of three copies of the avatarLoadFailed logic; the macOS vibrancy background stays on the UserMenu avatar. Switch gains a 44x26 lg size and a decorative mode that renders an aria-hidden span, so the mobile settings rows keep owning role=switch without nesting buttons. Hover and focus styles apply only to the button form. The local .toggle CSS is removed. * refactor: share one tooltip surface and use Tooltip for title-only buttons (#5317) * refactor(app-ui): share one tooltip surface class TooltipBubble, the mention tooltip, the markdown link tooltip and the markdown code tooltip each repeated the same paint (position, z-index, padding, radius, inverted colours, font). The paint now lives once in .ui-tip-surface; each bubble keeps its own line-height, width cap, caret and clamp. * refactor: use Tooltip for title-only buttons and hints Replace native title attributes on action buttons and hint blocks with the app Tooltip so they follow the theme, the hover delay and keyboard focus: terminal tab bar, session admin pagination, queued message edit, plan path, host test command, host connect error, approval plan path, session PR link, canary branch pill, inspector heartbeat and type filters, cron notice header and plugin authorization error. * fix(app-components): keep queued message clamp through tooltip wrapper * refactor(ui): share settings card and duplicated keyframes (#5318) * refactor(ui): share fade-out, row highlight, row flash and breathe keyframes Hoist the byte-identical keyframes into app-ui style.css as ui-fade-out, ui-row-highlight, ui-row-flash and ui-breathe, drop the local copies and use --duration-flash for the provider and host row flash. * refactor(settings): share the settings group card and section title Move settings-common.css into app-components and export it, so the app-components settings panels can use the same settings-group card and sec-title as the desktop panels. Add a settings-group-divided modifier for groups whose rows are not .row, and replace the pp-group, re-group, mpv-group and pu-group cards and the matching title copies. * refactor(settings): share plan rows, provider loading and locate flash styles Move the plan row rules that PlanUsageCard and PlanUpgradeCard both declared into an exported plan-usage.css, share the providers loading state as settings-loading in settings-common.css, and move the sidebar locate flash overlay into a scoped lib/locate-flash.css used by WorkspaceGroup, PinnedSessionList and SessionListPanel. * fix(settings): keep group dividers above row border resets * refactor(ui): replace legacy token aliases with v2 tokens (#5319) * refactor(ui): replace legacy token aliases with v2 tokens Rewrite var() references to the value-identical v2 tokens and remove the alias declarations that no longer have references. --panel2, --star, --content-font-size and --code-font-size stay. * refactor(ui): share duplicated sidebar and chat styles Move identical declarations of the sidebar row buttons, drop-target cards, clamped-text toggles and sidebar empty states into shared scoped CSS files, and merge the chat message action buttons into one selector list. Reorder declarations in two unrelated rules so they no longer read as copies. Computed styles are unchanged. * refactor(ui): move hand-built buttons and checkboxes onto app-ui primitives (#5321) * refactor(ui): move back, terminal and pill buttons onto app-ui primitives * refactor(chat): use IconButton and Button for message and queue controls * refactor(admin): use Checkbox, Button and IconButton in session admin * refactor(ui): keep chat message action styles distinct after merge * refactor(ui): build the workspace picker on Menu (#5322) * refactor(ui): build the workspace picker on Menu Menu gains a register prop so hover cards and nested flyouts can skip the menu stack. MenuItem gains selected (selected background, trailing check, aria-selected / aria-checked by role) and description (muted second line). A new MenuSearch primitive renders the search row of searchable menus and emits navigate / escape. The conversation workspace picker is now a Menu dialog with MenuSearch and MenuItem rows: Escape closes it and returns focus to the chip, ArrowDown moves from the search into the rows, and arrows / Home / End move between rows. MultiSelectMenu uses MenuSearch; WorkspaceHoverCard and the SecondaryModelPicker menu and flyout paint their surface through Menu, with the hover card and flyout unregistered so tooltip suppression is unchanged. * test: drop the added workspace picker Escape case
…Dot and Spinner (#5315) * refactor(app-ui): add StatusDot sizes, rings and unread/archived kinds; read Spinner duration from token * refactor(ui): replace hand-drawn status dots and local spinners with app-ui primitives * test(app-components): drop the StatusDot class mapping test * refactor(app-ui): render user avatars and mobile toggles with Avatar and Switch (#5316) * refactor(app-ui): render user avatars and mobile toggles with Avatar and Switch Avatar gains src with a built-in load-failure fallback icon that resets when src changes, an lg (40px) size, a borderless circle shape and a fallbackIcon prop. UserMenu, the Settings account row, the mobile settings sheet and the font preview now use it instead of three copies of the avatarLoadFailed logic; the macOS vibrancy background stays on the UserMenu avatar. Switch gains a 44x26 lg size and a decorative mode that renders an aria-hidden span, so the mobile settings rows keep owning role=switch without nesting buttons. Hover and focus styles apply only to the button form. The local .toggle CSS is removed. * refactor: share one tooltip surface and use Tooltip for title-only buttons (#5317) * refactor(app-ui): share one tooltip surface class TooltipBubble, the mention tooltip, the markdown link tooltip and the markdown code tooltip each repeated the same paint (position, z-index, padding, radius, inverted colours, font). The paint now lives once in .ui-tip-surface; each bubble keeps its own line-height, width cap, caret and clamp. * refactor: use Tooltip for title-only buttons and hints Replace native title attributes on action buttons and hint blocks with the app Tooltip so they follow the theme, the hover delay and keyboard focus: terminal tab bar, session admin pagination, queued message edit, plan path, host test command, host connect error, approval plan path, session PR link, canary branch pill, inspector heartbeat and type filters, cron notice header and plugin authorization error. * fix(app-components): keep queued message clamp through tooltip wrapper * refactor(ui): share settings card and duplicated keyframes (#5318) * refactor(ui): share fade-out, row highlight, row flash and breathe keyframes Hoist the byte-identical keyframes into app-ui style.css as ui-fade-out, ui-row-highlight, ui-row-flash and ui-breathe, drop the local copies and use --duration-flash for the provider and host row flash. * refactor(settings): share the settings group card and section title Move settings-common.css into app-components and export it, so the app-components settings panels can use the same settings-group card and sec-title as the desktop panels. Add a settings-group-divided modifier for groups whose rows are not .row, and replace the pp-group, re-group, mpv-group and pu-group cards and the matching title copies. * refactor(settings): share plan rows, provider loading and locate flash styles Move the plan row rules that PlanUsageCard and PlanUpgradeCard both declared into an exported plan-usage.css, share the providers loading state as settings-loading in settings-common.css, and move the sidebar locate flash overlay into a scoped lib/locate-flash.css used by WorkspaceGroup, PinnedSessionList and SessionListPanel. * fix(settings): keep group dividers above row border resets * refactor(ui): replace legacy token aliases with v2 tokens (#5319) * refactor(ui): replace legacy token aliases with v2 tokens Rewrite var() references to the value-identical v2 tokens and remove the alias declarations that no longer have references. --panel2, --star, --content-font-size and --code-font-size stay. * refactor(ui): share duplicated sidebar and chat styles Move identical declarations of the sidebar row buttons, drop-target cards, clamped-text toggles and sidebar empty states into shared scoped CSS files, and merge the chat message action buttons into one selector list. Reorder declarations in two unrelated rules so they no longer read as copies. Computed styles are unchanged. * refactor(ui): move hand-built buttons and checkboxes onto app-ui primitives (#5321) * refactor(ui): move back, terminal and pill buttons onto app-ui primitives * refactor(chat): use IconButton and Button for message and queue controls * refactor(admin): use Checkbox, Button and IconButton in session admin * refactor(ui): keep chat message action styles distinct after merge * refactor(ui): build the workspace picker on Menu (#5322) * refactor(ui): build the workspace picker on Menu Menu gains a register prop so hover cards and nested flyouts can skip the menu stack. MenuItem gains selected (selected background, trailing check, aria-selected / aria-checked by role) and description (muted second line). A new MenuSearch primitive renders the search row of searchable menus and emits navigate / escape. The conversation workspace picker is now a Menu dialog with MenuSearch and MenuItem rows: Escape closes it and returns focus to the chip, ArrowDown moves from the search into the rows, and arrows / Home / End move between rows. MultiSelectMenu uses MenuSearch; WorkspaceHoverCard and the SecondaryModelPicker menu and flyout paint their surface through Menu, with the hover card and flyout unregistered so tooltip suppression is unchanged. * test: drop the added workspace picker Escape case
…#5314) * fix(app-ui): point undefined CSS token references at real tokens The load-earlier button in the chat pane used --border and --fg, the browser viewport resize grip used --space-10, the zoom label used --space-12, and the plugin pages used --weight-normal. None of these was defined, so the browser dropped each declaration. Use --color-line and --color-text in the chat pane, --weight-regular in the plugin pages, and add --space-10 (40px) and --space-12 (48px) to the 4px spacing scale. * refactor(app-ui): delete 30 unreferenced design tokens Nothing in CSS, templates or TypeScript reads these tokens, including their dark and system-dark overrides: the unused legacy aliases (--canvas, --sh, --shc, --blue2, --soft, --bd, --bluebg, --blueln, --ok, --warn, --err), three markdown code tokens, --color-surface-deep, --color-orange-soft, and a set of layout, z-index, duration, font and breakpoint tokens. Tokens that TypeScript reads at runtime stay. * refactor(app-ui): delete unused Tabs, Sheet, TopBar, CommandBar and Divider No app or package imports these primitives. BottomSheet in app-components is the live sheet and MobileTopBar the only top bar. * refactor(app-ui): share one menu transition and floating layer Define ui-menu-pop, ui-menu-fade and ui-menu-floating once in app-ui and switch every anchored menu to them. Components no longer carry their own enter/leave transition copies or fixed-layer wrappers, and menus that previously animated only through the sidebar's unscoped stylesheet now get the transition from the shared layer. Reduced-motion users get no menu transition. * refactor(app-components): share the anchored menu header style Move the identical header rule from the file tree position menu and the session admin menu into anchored-menu.css as anchored-menu-head. The session admin menu now renders its single and row-action modes from one branch, so the rename, fork and export items are defined once. The rendered menus are unchanged. * test(app-ui): drop the menu layer source-text test * refactor(ui): replace hand-drawn status dots and spinners with StatusDot and Spinner (#5315) * refactor(app-ui): add StatusDot sizes, rings and unread/archived kinds; read Spinner duration from token * refactor(ui): replace hand-drawn status dots and local spinners with app-ui primitives * test(app-components): drop the StatusDot class mapping test * refactor(app-ui): render user avatars and mobile toggles with Avatar and Switch (#5316) * refactor(app-ui): render user avatars and mobile toggles with Avatar and Switch Avatar gains src with a built-in load-failure fallback icon that resets when src changes, an lg (40px) size, a borderless circle shape and a fallbackIcon prop. UserMenu, the Settings account row, the mobile settings sheet and the font preview now use it instead of three copies of the avatarLoadFailed logic; the macOS vibrancy background stays on the UserMenu avatar. Switch gains a 44x26 lg size and a decorative mode that renders an aria-hidden span, so the mobile settings rows keep owning role=switch without nesting buttons. Hover and focus styles apply only to the button form. The local .toggle CSS is removed. * refactor: share one tooltip surface and use Tooltip for title-only buttons (#5317) * refactor(app-ui): share one tooltip surface class TooltipBubble, the mention tooltip, the markdown link tooltip and the markdown code tooltip each repeated the same paint (position, z-index, padding, radius, inverted colours, font). The paint now lives once in .ui-tip-surface; each bubble keeps its own line-height, width cap, caret and clamp. * refactor: use Tooltip for title-only buttons and hints Replace native title attributes on action buttons and hint blocks with the app Tooltip so they follow the theme, the hover delay and keyboard focus: terminal tab bar, session admin pagination, queued message edit, plan path, host test command, host connect error, approval plan path, session PR link, canary branch pill, inspector heartbeat and type filters, cron notice header and plugin authorization error. * fix(app-components): keep queued message clamp through tooltip wrapper * refactor(ui): share settings card and duplicated keyframes (#5318) * refactor(ui): share fade-out, row highlight, row flash and breathe keyframes Hoist the byte-identical keyframes into app-ui style.css as ui-fade-out, ui-row-highlight, ui-row-flash and ui-breathe, drop the local copies and use --duration-flash for the provider and host row flash. * refactor(settings): share the settings group card and section title Move settings-common.css into app-components and export it, so the app-components settings panels can use the same settings-group card and sec-title as the desktop panels. Add a settings-group-divided modifier for groups whose rows are not .row, and replace the pp-group, re-group, mpv-group and pu-group cards and the matching title copies. * refactor(settings): share plan rows, provider loading and locate flash styles Move the plan row rules that PlanUsageCard and PlanUpgradeCard both declared into an exported plan-usage.css, share the providers loading state as settings-loading in settings-common.css, and move the sidebar locate flash overlay into a scoped lib/locate-flash.css used by WorkspaceGroup, PinnedSessionList and SessionListPanel. * fix(settings): keep group dividers above row border resets * refactor(ui): replace legacy token aliases with v2 tokens (#5319) * refactor(ui): replace legacy token aliases with v2 tokens Rewrite var() references to the value-identical v2 tokens and remove the alias declarations that no longer have references. --panel2, --star, --content-font-size and --code-font-size stay. * refactor(ui): share duplicated sidebar and chat styles Move identical declarations of the sidebar row buttons, drop-target cards, clamped-text toggles and sidebar empty states into shared scoped CSS files, and merge the chat message action buttons into one selector list. Reorder declarations in two unrelated rules so they no longer read as copies. Computed styles are unchanged. * refactor(ui): move hand-built buttons and checkboxes onto app-ui primitives (#5321) * refactor(ui): move back, terminal and pill buttons onto app-ui primitives * refactor(chat): use IconButton and Button for message and queue controls * refactor(admin): use Checkbox, Button and IconButton in session admin * refactor(ui): keep chat message action styles distinct after merge * refactor(ui): build the workspace picker on Menu (#5322) * refactor(ui): build the workspace picker on Menu Menu gains a register prop so hover cards and nested flyouts can skip the menu stack. MenuItem gains selected (selected background, trailing check, aria-selected / aria-checked by role) and description (muted second line). A new MenuSearch primitive renders the search row of searchable menus and emits navigate / escape. The conversation workspace picker is now a Menu dialog with MenuSearch and MenuItem rows: Escape closes it and returns focus to the chip, ArrowDown moves from the search into the rows, and arrows / Home / End move between rows. MultiSelectMenu uses MenuSearch; WorkspaceHoverCard and the SecondaryModelPicker menu and flyout paint their surface through Menu, with the hover card and flyout unregistered so tooltip suppression is unchanged. * test: drop the added workspace picker Escape case
Requirement or Bug
The same keyframes lived in several components under different names (locate fade x4, row highlight x2, row flash x2, breathe x2). The settings group card and section title were copied into eight settings files, because
settings-common.csssat inapps/desktopand the app-components settings panels could not import it. This PR keeps one copy of each, so a later change to these animations or cards only has to be made once.Bug Reproduction Steps
N/A
Root Cause
N/A
Code Changes
Shared keyframes.
packages/app-ui/src/style.cssnow declaresui-fade-out,ui-row-highlight,ui-row-flashandui-breatheright after the token block. The local copies are gone:ui-fade-outse-locate-fade(WorkspaceGroup, PinnedSessionList),ws-locate-fade(SessionListPanel),control-scan-reduced(BrowserControlSurface)ui-row-highlightsettings-row-highlight(settings-common.css),mobile-settings-row-highlight(MobileSettingsSheet)ui-row-flashpp-flash(ProvidersPanel),re-flash(HostsPanel)ui-breathethink-breathe(ThinkingBlock),wi-breathe(WorkingIndicator)Vue scoped CSS only rewrites keyframe names declared in the same block, so the global names resolve as they are. The provider and host row flash now uses
var(--duration-flash)(1200ms) instead of a literal1.2s. Everyprefers-reduced-motionoverride stays local. The spin keyframes, the mascot eye keyframes and the two-line fade-ins are not changed.Shared settings card.
settings-common.cssmoves topackages/app-components/src/settings/and is exported as@moonshot-ai/app-components/settings-common.css.PlanUsageCard.vue, import it through the package path.<style scoped src="./settings-common.css">and keep their own second style block..settings-group-divided > * + *, draws the hairline between rows for panels whose rows are not.row.pp-group,mpv-groupandpu-groupbecomesettings-group settings-group-divided. HostsPanel and PlanUsageCard use plainsettings-groupand keep their own row dividers.--text-basetitles (pp-sec-title,pp-title,re-title,sc-titleand the two Plan.sec-titlecopies) becomesec-title. Where the old copy hadmargin: 0, a one-line local override keeps it.:deep(.pp-head .sec-title)instead of:deep(.pp-title).The
.row,.rlabel,.rvalue,button.rowand.select-wraprules in the shared file now also reach the app-components panels. None of those panels uses these class names.To keep the duplication check clean, three styles each move into one shared file: the plan row rules (
settings/plan-usage.css, used byPlanUsageCardandPlanUpgradeCard), the providers loading state (.settings-loadinginsettings-common.css), and the sidebar locate flash overlay (scopedlib/locate-flash.css).Start with
packages/app-components/src/settings/settings-common.css, thenProvidersPanel.vueandHostsPanel.vue.Behavior Changes and Affected Users
None visible. Every keyframe body, duration and easing is unchanged. The only new title declarations (
font-family: var(--font-ui)andletter-spacing: 0on the Plan titles) match what they already inherited.Evidence: I took screenshots of Settings (General, Account, Model Providers, SSH, Browser, Plugins, Hotkeys) in light and dark on the base commit and on this branch, using the same fresh desktop profile. The dark screenshots are byte-identical. The light screenshots match within a 2% fuzz, except for a 204x193 px area in the sidebar's top-left corner, outside the Settings dialog. Not checked: the signed-in Plan usage card, populated provider or host lists, and the mobile sheet, because the fresh profile had no account or data.
Affected modules: app-ui style tokens, app-components settings panels, sidebar session lists and chat indicators, and the desktop settings, browser settings and mobile settings sheet. The web UI builds from the same renderer sources.
Tests
pnpm exec vitest run apps/desktop/tests/renderer/settings-tabs.test.ts apps/desktop/tests/renderer/settings-dialog-font-page.test.ts apps/desktop/tests/renderer/browser-user-agent-settings.test.ts packages/app-components/test: 100 files, 985 tests passed, no unhandled errors.packages/app-components/test/hostsPanel.test.tsnow selects rows through.settings-groupinstead of.re-group.pnpm typecheckandpnpm lintpass.Checklist
/approve).gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.