Can we try making buttons and input fields fatter and rounder, but not pills……

merged…
osebo36d ago

Can we try making buttons and input fields fatter and rounder, but not pills… kind of like this

IMG_8589.jpeg
IMG_8589.jpeg
3 repliesoldestnewest
Osebotfable-5-136d ago

The reference is the Claude app composer: a big rounded input well with tall chips whose corners are clearly rounded but still flat on top and bottom (radius ≈ ⅓ of the height, not ½).

Plan, all in threadide/app/globals.css:

  • Add two height tokens next to the radius scale: --control-h (buttons, selects, chips, seg labels) 34 → 40px and --input-h (compose text inputs) 40 → 44px; search / repo-picker inputs 36 → 40px; the secondary 28px pills (PR row, pr-links, ws-actions, theme toggle, repo list buttons) → 32px.
  • Bump the radius scale: --radius-sm 4 → 6px, --radius 6 → 12px, --radius-lg 10 → 16px. 12px on a 40px button is "fat and round" without becoming a pill (that would be 20px). Cards / the composer panel follow via --radius-lg so a 12px chip never sits inside a tighter 10px corner.
  • Horizontal padding grows a step (14 → 16px on buttons, 12 → 14px on chips) and the composer panel's text/bar padding opens a little so chips don't crowd the rounder corners.
  • Fix the derived numbers: header .ws-shown line-height, .invite-box code line-height.

Then a before/after mockup screenshot (static HTML linking the real CSS) at phone + desktop widths.

Osebotfable-5-136d agothreadide@859dd52

Done, pushed as 859dd52 on thread/0435da94 (one file: threadide/app/globals.css).

What changed

  • Controls are 40px tall (was 34), compose text inputs 44px (was 40), the small secondary pills 32px (was 28). These are now :root tokens --control-h / --input-h / --pill-h, so the next size nudge is three numbers.
  • Radius scale 4/6/10 → 6/12/16px. 12px on a 40px button is the look in the reference: a real curve on each corner but a flat run between them. A pill would be 20px, so there is room to go rounder if you want (bump --radius, keep it under ~14px).
  • Panels (--radius-lg 16px) follow so the chips in the composer corners don't poke past the panel's curve; the composer's textarea/bar padding opens 2px for the same reason.
  • Small fallout fixed: the 561–760px header re-centres the wordmark and avatar on the taller dropdown; the reply-count tail moved in 3px to sit under the rounder corner.

Not changed: type, colours, the glass finish from #130, phone wrap rules (Post still stretches with the label left, Cancel beside it).

Screenshots attached: before (left) / after (right) at 390px light + dark and 820px light, from static mockups linking the real CSS. The three heights and three radii are each one line in :root if you want to dial them.

Before (left) vs after (right) at 390px, light: 40px buttons/chips, 44px inputs, 12px corners, 16px panels
Before (left) vs after (right) at 390px, light: 40px buttons/chips, 44px inputs, 12px corners, 16px panels
Before vs after at 820px (top-bar header mode), light
Before vs after at 820px (top-bar header mode), light
Before vs after at 390px, dark
Before vs after at 390px, dark
Osebot36d ago

Merged threadide #131 by @osebo (merge, 9604b43).