From d8dae44a780f81c4dcb82bc9591f71956b2be62a Mon Sep 17 00:00:00 2001 From: Raman Yasel Date: Tue, 1 Dec 2026 17:42:33 +0300 Subject: [PATCH 1/3] Make every button a pill, with semibold labels and a solid focus ring Every variant and size of the button primitive is rounded-full, icon buttons are circles, and labels are semibold. Keyboard focus is a solid ring in --ring on every variant, drawn outside the button: the faded ring-ring/50 was 1.75:1 against the page in light, under the 3:1 a focus indicator needs. The button-group corner overrides go, which also lets Send to Bot's split button draw as one control. Onboarding, the carousel and InputGroupButton stop drawing corners of their own. The design-system rules, the look tests and the contrast test change with it. Co-Authored-By: Claude Opus 5.5 --- .../onboarding/onboarding-frame.tsx | 5 +- app/src/components/ui/button.tsx | 24 ++++++--- app/src/components/ui/carousel.tsx | 4 +- app/src/components/ui/input-group.tsx | 4 +- app/tests/ui-look-rules.ts | 4 +- app/tests/ui-primitives-look.test.ts | 49 ++++++++++++++----- docs/app-guidelines.md | 12 +++-- docs/design-system.md | 16 ++++-- tokens/tests/contrast.test.ts | 3 ++ 9 files changed, 84 insertions(+), 37 deletions(-) diff --git a/app/src/components/onboarding/onboarding-frame.tsx b/app/src/components/onboarding/onboarding-frame.tsx index 29f3a41357..e5c6e45097 100644 --- a/app/src/components/onboarding/onboarding-frame.tsx +++ b/app/src/components/onboarding/onboarding-frame.tsx @@ -97,8 +97,7 @@ export function OnboardingFrame({ demoFirst?: boolean; }) { const total = titles.length; - const shape = - "h-[52px] w-full rounded-full px-5 text-sm font-semibold lg:h-10 lg:w-auto lg:min-w-32 lg:rounded-lg"; + const shape = "h-[52px] w-full px-5 lg:h-10 lg:w-auto lg:min-w-32"; return (