I’d love to round more do the corners of elements in this app… can you try and send updates?
More round
Every corner in app/globals.css hangs off a single --radius: 2px token (vals.ai-style "edge" boxes), so this is mostly a token change plus a small scale so big surfaces round more than tiny chips.
Plan:
- Replace the single token with a three-step scale:
--radius-sm(badges, inline code, bubble) /--radius(buttons, inputs, selects, chips, pills) /--radius-lg(cards, post cards, popovers, compose dock, code blocks, images). - Point each rule at the right step; keep the few
border-radius: 0cases that are structural (thread-list rows, phone nav panel edge). - Mockup + screenshots before/after at phone and desktop widths, then push.
threadide@9692f18Pushed on thread/4f9142c7 (9692f18). CSS only, one file.
What changed (app/globals.css)
The whole UI was driven by a single --radius: 2px. It is now a three-step scale in :root:
| token | value | used by |
|---|---|---|
--radius-sm | 4px | .badge, inline code, the reply-count bubble |
--radius | 6px | buttons, inputs, selects, .seg, thread rows, chips, PR pills, popover menu items (unchanged selectors, just a bigger value) |
--radius-lg | 10px | .card (posts, workspace panels, reply cards), .user-popover, .thread-menu, pre / diff blocks, the compose textarea, post and attachment images |
Badges stay at 4px on purpose: at 18px tall anything bigger turns them into pills, which the vals.ai label system deliberately isn't. .card.thread-list keeps radius: 0 since it's the boxless hairline-row list.
Verification
Static mockup of the thread page + home filter row linking the real stylesheet, screenshotted at 390px before/after (attached) and at 1000px light/dark. No JS changes, so nothing to run beyond that.
If you want it rounder still, the three numbers in :root are the only knobs; e.g. 6 / 8 / 14px gives a noticeably softer look without touching anything else. Happy to push a variant if you'd like to compare.
Merged threadide #86 by @osebo (merge, 3c02763).
Can we left aligned the reply and post run button in the container?
Reading this as: the primary button in the compose dock should sit at the left edge of the container at its natural width, in both states.
Today:
- Collapsed: "Reply" is first in the row, but ≤560px it stretches to fill the row (
flex: 1 1 auto), so it reads as centred/full-width rather than left-aligned. - Open form: "Post & run" is the LAST item in
.row, after Ask Claude / + Image / model / Kind, so on desktop it lands at the right end; ≤560px it takes a full-width line of its own.
Plan:
components/composer.tsx: move the submit button (+ thecancellink) to the front of.row, before the Ask Claude checkbox and the pickers.app/globals.css: drop the phone-only stretch rules (.compose-collapsed > button { flex: 1 1 auto },form.compose .row > button { flex: 1 1 100% }) so Reply / Post keep their natural width and hug the left edge; the model/kind pickers keep wrapping after.- Mockup screenshot at 390px and 1000px, push.
threadide@79d2860Pushed on thread/4f9142c7 (79d2860). Two files, no logic changes.
What changed
components/composer.tsx: the submit button ("Post" / "Post & run") and thecancellink now come FIRST in the options row, before Ask Claude / + Image / model / Kind. Previously they were last, so on desktop the button landed at the right end of the row.app/globals.css: removed the two phone-only stretch rules (.compose-collapsed > button { flex: 1 1 auto }andform.compose .row > button { flex: 1 1 100% }). Reply and Post & run now keep their natural width and hug the left edge of the dock at every viewport. The model picker keeps.row-right, so on desktop model + Kind still sit at the right; on phones they wrap under the button row.
Result
collapsed: [REPLY] [TOP]
open: [POST & RUN] cancel [Ask Claude] [+ Image] ...... [model] [Kind]
Verification: tsc --noEmit clean; static mockups linking the real stylesheet at 390px (before/after, both states) and 1000px, attached.
One trade-off worth knowing: the ≤560px Reply button is no longer a full-width thumb target (that was the earlier reasoning for the stretch). If you'd rather keep it wide on phones and only left-align the open-form button, that's a one-line revert in the .compose-collapsed block; say the word.
I meant to keep the button width but left align the text in the button
Got it, I misread the first ask. Correcting on the same branch (PR #87 is still open with the wrong change):
- Revert 79d2860: the submit button + cancel go back to the END of
form.compose .row, and the phone stretch rules return (Replyflex: 1 1 auto, Post & runflex: 1 1 100%≤560px), so the buttons keep their old width and position. - Add
justify-content: flex-start/text-align: leftto those two stretched buttons so the label hugs the left edge of the button instead of being centred. Buttons aredisplay: inline-flex; justify-content: center, so this only shows when the button is wider than its text, i.e. the phone layouts; desktop (natural width) is unchanged. - Mockup screenshot at 390px, push, update the PR body.
threadide@3bb7bacSorry for the misread. Pushed on thread/4f9142c7 (3bb7bac); PR #87 now carries the corrected change and its body is updated.
What changed
40f0f43reverts the earlier commit: submit button +cancelare back at the end of the options row, and the phone stretch rules return, so Reply fills the row and Post & run gets its own full-width line ≤560px, exactly as on main.3bb7bac(app/globals.css, 7 lines): those two ≤560px rules now carryjustify-content: flex-start; text-align: left, so the label hugs the left edge of the wide button. Top / Stop / cancel are explicitly kept centred.
Net diff vs main is only the CSS; components/composer.tsx is identical to main again.
Why nothing changes on desktop: button is inline-flex with centred content, and above 560px these buttons are natural-width, so there is no spare room for the label to move in. The alignment only shows where the button is wider than its text (phones).
Verification: static mockup linking the real stylesheet, screenshotted at 390px before/after (attached) and 1000px. If you'd like the left-aligned label to also apply to other wide buttons (e.g. Sign in on the gate), that's a one-line addition to the base button rule; say the word.
Merged threadide #87 by @osebo (merge, e974b87).




