Repository navigation
Studio: radius scale in Settings, Profile and Library - #14921
Conversation
Settings, Profile, Library, login and the tour move onto the radius tiers: the Settings dialog is 28px, one-line controls are pills, rows 12px, compact boxes 16px, cards 24px.
|
@codex review |
|
@codex security review |
Codex Review SummaryThis 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: Didn't find any major issues. Hooray! 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". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. 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". |
) ## Summary Studio's corners follow one fixed radius scale, and the shared primitives and global styles move onto it. This is the base of a short stack: the per-area sweeps, filled buttons and one-line command boxes build on it (split out of #14895 so each piece can be reviewed on its own). Before, the Tailwind radius scale was a set of offsets from `--radius`, and five regions overrode that variable (chat search, model selector, API page, Settings, Skills), so the same class gave different corners in different places. The scale is now fixed px tiers, nested so an outer corner equals the inner corner plus its inset (the composer: 28px around an 18px send circle at a 10px inset; the `+` menu: 21px around 12px rows at a 9px gutter): | Class | Radius | Used for | |---|---|---| | `rounded-full` | pill | anything one line tall: buttons, inputs, select triggers, chips, badges, tabs, nav rows, toggles | | `rounded-sm` | 8px | tiny tiles and swatches | | `rounded-md` (and bare `rounded`) | 12px | rows in menus and lists, tiles inside a card | | `rounded-lg` | 16px | menus (12px rows + 4px gutter), code blocks, thumbnails, compact boxes with 8-12px padding | | `rounded-xl` | 21px | popovers, textareas, larger panels inside a card or dialog | | `rounded-2xl` | 24px | cards and panels | | `rounded-3xl` | 28px | composer, dialogs, sheets, large floating surfaces | In this PR: - The scale above, defined once in `@theme`; the `--radius` overrides are gone. - Primitives: one-line controls (badge, tabs, toggles, menubar, progress, kbd) are pills; dialogs, alert dialogs and the command palette are 28px; cards 24px; alerts and empty states on the compact and card tiers. - Menus: dropdowns, selects, context menus and the menubar use a 4px gutter, 12px rows and a 16px corner so the hover nests in the corner. The sidebar row menu (8px gutter) is 20px, the account menu (10px) 22px, the composer `+` menus keep 21px around their 9px gutter. - Global styles: composer 28px, code blocks 16px, elevated cards one 24px radius at every width, sidebar drag ghosts as pills, toasts 16px. - Tooltips keep their existing radii (11px compact, 16px rich). Pages that are not swept yet still render on the new scale, so some corners move slightly until their area PR lands. ## Verification - `npm run typecheck`, `npm test` and `npm run build` pass on this branch alone. - Tests that pinned old radius classes on primitives assert the new tiers. - Checked in an isolated Studio (light and dark) together with the rest of the stack; a rendered-DOM audit across chat, every Settings tab, Hub, Library, Images, Video, Audio, Studio, Data Recipes, Export, API monitor and Projects checks one-line boxes are pills, short boxes are not near-capsules and hover rows nest in their container. ## Not tested here GPU-only screens and surfaces that need a loaded model; the Desktop (Tauri/WebKit) shell. `corner-shape: squircle` only renders in Chromium. ## Stack Split out of #14895. Based on this PR (review this first): - #14920 radius scale in chat, browser and shared components - #14921 radius scale in Settings, Profile and Library - #14922 radius scale in the Hub, model picker, Images and Video - #14923 radius scale in Recipe Studio, Studio, Audio and the remaining pages - #14924 filled borderless buttons - #14925 one-line command and URL boxes are pills Independent, based on `main`: #14926 run settings controls, sliders and thumbs; #14927 composer `+` hover label. The sibling PRs touch disjoint lines, so they merge cleanly in any order once this lands. Merged together they are identical to #14895. ### Stacked PRs folded in The stacked PRs were squash-merged into this branch, so merging this PR lands all of them: #14920 (chat, browser, shared components), #14921 (Settings, Profile, Library), #14922 (Hub, model picker, Images, Video), #14923 (Recipe Studio, Studio, Audio, remaining pages), #14924 (filled borderless buttons), #14925 (one-line command and URL boxes as pills). Each was reviewed and staged on its own PR.

Summary
Settings, Profile, Library, login, change password and the guided tour move onto the radius scale. The Settings dialog is 28px, matching the composer.
Stacked on #14919 (the radius scale and primitives); review that first. Split out of #14895.
Applies the tiers per role and size: one-line buttons, chips, triggers and nav rows are pills, rows inside menus and lists 12px, compact notices, error boxes, option rows and code 16px, larger inner panels and popovers 21px, cards 24px, dialogs 28px. Deliberate rounded squares keep their shapes (the 30px header and sidebar icon buttons, the settings cog, the model selector and context chips, the account and update buttons).
Verification
npm run typecheck,npm testandnpm run buildpass on this branch.Not tested here
Multi-account flows beyond the owner account.