Skip to content

Rounded border style: calmer radii on large surfaces (3.1) - #582

Merged
lorant-one merged 3 commits into
previewfrom
feat/rounded-large-radii
Nov 23, 2026
Merged

lorant-one merged 3 commits into
previewfrom
feat/rounded-large-radii

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Lorant: "once UI's rounded border style feels a bit too rounded in some cases, like the big surfaces and cards". Held for Lorant's pick of the curve before merging.

What changes

Only [data-border="rounded"], and only its large steps:

Token Before After
radius-l 28px 24px
radius-l-nest-4 / -8 32 / 40px 28 / 32px
radius-xl 32px 28px
radius-xl-nest-4 / -8 36 / 44px 32 / 36px

The nested steps now follow the padding evenly (+4px, +8px). They used to jump +12px at nest-8. radius-xs, s and m give the controls (buttons, inputs, tags) their pill shapes and are unchanged. The other border styles are untouched.

Cards use l, while surfaces and Dialog use xl, so these are the elements that change.

Options shown to Lorant

/mnt/project-files/core-fixes/rounded-large-radii-options.png compares a card, a surface with controls, and a dialog at today's values, at Option A (this PR: 24/28) and at Option B (20/24). If he picks B, the change is these six values.

Checks

  • export:tokens regenerated once-ui.tokens.json, and check:tokens is clean.
  • Foundations tests: 68/68 pass.
  • CHANGELOG [Unreleased] has a new ### Changed section.
  • This is an intended visual change, so the visual-change label is set.

Generated by Claude Code

radius-l 1.75rem -> 1.5rem and radius-xl 2rem -> 1.75rem in
[data-border="rounded"], with nested steps at +0.25rem and +0.5rem. Cards,
panels and dialogs read too round at 28px and 32px; xs, s and m, which
shape the controls, stay as they are.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
@lorant-one
lorant-one merged commit a86f6dd into preview Nov 23, 2026
9 checks passed
@lorant-one lorant-one added the approved label Nov 23, 2026 — with Claude
@lorant-one
lorant-one deleted the feat/rounded-large-radii branch November 29, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants