From 7101da6f27f9f5f2c9c6089ae32bb57e7ab1f30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Sun, 12 Jul 2026 17:11:24 +0300 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=92=84=20round=20card=20corners?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - increase the shared radius token for a softer card shape - use rounded-lg on shared card and page header surfaces - align decorative stat tile radius with the shared token --- src/components/layout/page-header.tsx | 2 +- src/components/ui/card.tsx | 2 +- src/index.css | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/layout/page-header.tsx b/src/components/layout/page-header.tsx index 71b8be1..1ba291f 100644 --- a/src/components/layout/page-header.tsx +++ b/src/components/layout/page-header.tsx @@ -27,7 +27,7 @@ export function PageHeader( return (
diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsx index 31e047c..56ac2e0 100644 --- a/src/components/ui/card.tsx +++ b/src/components/ui/card.tsx @@ -6,7 +6,7 @@ export function Card(props: ParentProps>) { const [local, rest] = splitProps(props, ["class", "children"]); return (
{local.children} diff --git a/src/index.css b/src/index.css index 71db25a..89e2fe5 100644 --- a/src/index.css +++ b/src/index.css @@ -25,7 +25,7 @@ --border: 160 14% 88%; --input: 160 14% 88%; --ring: 163 72% 28%; - --radius: 0.2rem; + --radius: 0.875rem; --success: 152 60% 36%; --warning: 38 92% 50%; --info: 210 80% 48%; @@ -95,7 +95,7 @@ } .surface-card { - @apply rounded-md border bg-card text-card-foreground shadow-sm; + @apply rounded-lg border bg-card text-card-foreground shadow-sm; } .hero-panel { @@ -112,7 +112,7 @@ inset: auto -20% -40% auto; width: 8rem; height: 8rem; - border-radius: 0.2rem; + border-radius: var(--radius); background: hsl(var(--primary) / 0.08); pointer-events: none; }