From 456366006e0883456bf37c04055bfe5c82ec759a Mon Sep 17 00:00:00 2001 From: loki5512344 Date: Mon, 28 Sep 2026 13:16:59 +0200 Subject: [PATCH] feat(frontend): unify control radius on one token Buttons and inputs in the kit used rounded-md (6px) while the landing CTAs hard-coded 0.6rem (9.6px), so a form row could mix three different corners. Add --radius-ctl (10px, matching --radius-panel), point every interactive control at it via rounded-ctl and make the CTAs consume the same variable. Drop the unused ButtonAnchor helper. --- .../features/account/components/AvatarUpload.tsx | 2 +- .../src/features/configs/components/PublishForm.tsx | 4 ++-- .../src/features/device-link/LinkDeviceForm.tsx | 2 +- frontend/src/features/landing/styles/landing.css | 5 +++-- .../src/features/showcase/components/CopyToSlot.tsx | 2 +- frontend/src/features/themes/editor/ThemeEditor.tsx | 2 +- .../features/themes/editor/fields/ColorField.tsx | 2 +- frontend/src/index.css | 3 +++ frontend/src/shared/ui/Button.tsx | 13 ++----------- frontend/src/shared/ui/Notice.tsx | 2 +- frontend/src/shared/ui/TextField.tsx | 2 +- 11 files changed, 17 insertions(+), 22 deletions(-) diff --git a/frontend/src/features/account/components/AvatarUpload.tsx b/frontend/src/features/account/components/AvatarUpload.tsx index a86545e..7b9e51a 100644 --- a/frontend/src/features/account/components/AvatarUpload.tsx +++ b/frontend/src/features/account/components/AvatarUpload.tsx @@ -32,7 +32,7 @@ export function AvatarUpload() {