Skip to content

Commit 2f496de

Browse files
klopez4212npub1qmhy2ax8zfuwa935x3g9sczmqsnykvrj88gy5e9v7qw8ez6atpqssdvu6yKenny Lopez
authored
style(desktop): unify corner radii to rounded-2xl (16px) (#1393)
Signed-off-by: Kenny Lopez <[email protected]> Co-authored-by: npub1qmhy2ax8zfuwa935x3g9sczmqsnykvrj88gy5e9v7qw8ez6atpqssdvu6y <06ee4574c71278ee9634345058605b04264b307239d04a64acf01c7c8b5d5841@sprout-oss.stage.blox.sqprod.co> Co-authored-by: Kenny Lopez <[email protected]>
1 parent 5a64ee4 commit 2f496de

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎desktop/src/app/AppShell.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ export function AppShell() {
803803
className="isolate min-h-0 min-w-0 overflow-hidden bg-sidebar"
804804
style={chromeCssVarDefaults}
805805
>
806-
<div className="relative z-10 mb-2 ml-px mr-2 mt-px flex min-h-0 flex-1 flex-col overflow-hidden rounded-xl bg-background shadow-[-1px_-1px_0_0_hsl(var(--sidebar-border)/0.45)]">
806+
<div className="relative z-10 mb-2 ml-px mr-2 mt-px flex min-h-0 flex-1 flex-col overflow-hidden rounded-2xl bg-background shadow-[-1px_-1px_0_0_hsl(var(--sidebar-border)/0.45)]">
807807
<ConnectionBanner
808808
errorMessage={channelsErrorMessage}
809809
/>

‎desktop/src/features/agents/ui/AgentIdentityCard.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ export function AgentIdentityCard({
3030
return (
3131
<div
3232
className={cn(
33-
"group relative aspect-[4/5] w-full min-w-0 overflow-hidden rounded-xl border border-border/70 bg-muted/50 text-left shadow-xs transition-colors hover:border-border hover:bg-muted/65",
33+
"group relative aspect-[4/5] w-full min-w-0 overflow-hidden rounded-2xl border border-border/70 bg-muted/50 text-left shadow-xs transition-colors hover:border-border hover:bg-muted/65",
3434
)}
3535
data-testid={dataTestId}
3636
>
3737
<button
3838
aria-label={ariaLabel}
39-
className="absolute inset-0 z-10 rounded-xl focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"
39+
className="absolute inset-0 z-10 rounded-2xl focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"
4040
onClick={onClick}
4141
type="button"
4242
/>

‎desktop/src/features/agents/ui/CreateIdentityCard.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const CreateIdentityCard = React.forwardRef<
2020
<button
2121
aria-label={ariaLabel}
2222
className={cn(
23-
"group relative flex aspect-[4/5] w-full min-w-0 items-center justify-center overflow-hidden rounded-xl border border-dashed border-border/80 bg-transparent text-muted-foreground shadow-xs transition-colors hover:border-border hover:bg-muted/70 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
23+
"group relative flex aspect-[4/5] w-full min-w-0 items-center justify-center overflow-hidden rounded-2xl border border-dashed border-border/80 bg-transparent text-muted-foreground shadow-xs transition-colors hover:border-border hover:bg-muted/70 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
2424
className,
2525
)}
2626
data-testid={dataTestId}

‎desktop/src/features/agents/ui/TeamIdentityCard.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function TeamIdentityCard({
4242

4343
return (
4444
<Card
45-
className="min-w-0 overflow-hidden p-0 transition-colors hover:border-border hover:bg-muted/65"
45+
className="min-w-0 overflow-hidden rounded-2xl p-0 transition-colors hover:border-border hover:bg-muted/65"
4646
data-testid={dataTestId}
4747
>
4848
<div className="relative aspect-[4/5] min-w-0 overflow-hidden bg-muted/50">

‎desktop/src/features/messages/ui/MessageTimeline.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ const MessageTimelineBase = React.forwardRef<
501501
"flex shrink-0 border border-border/70 bg-background/70 text-left transition-colors hover:bg-muted/60 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
502502
hasDescription
503503
? "h-56 w-[13.75rem] flex-col rounded-2xl p-4"
504-
: "h-28 w-64 flex-col rounded-xl p-4",
504+
: "h-28 w-64 flex-col rounded-2xl p-4",
505505
)}
506506
data-testid={action.testId}
507507
key={action.label}
@@ -557,7 +557,7 @@ const MessageTimelineBase = React.forwardRef<
557557

558558
{showGenericEmpty ? (
559559
<div
560-
className="mt-auto rounded-3xl border border-dashed border-border/80 bg-card/70 px-6 py-10 text-center shadow-xs"
560+
className="mt-auto rounded-2xl border border-dashed border-border/80 bg-card/70 px-6 py-10 text-center shadow-xs"
561561
data-testid="message-empty"
562562
>
563563
<p className="text-base font-semibold tracking-tight">

‎desktop/src/shared/ui/dialog.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const DialogContent = React.forwardRef<
5454
<div className="fixed inset-0 z-50 grid place-items-center overflow-y-auto p-4 pointer-events-none">
5555
<DialogPrimitive.Content
5656
className={cn(
57-
"pointer-events-auto relative grid w-[calc(100vw-2rem)] max-w-2xl gap-4 rounded-3xl bg-background p-6 shadow-2xl outline-hidden",
57+
"pointer-events-auto relative grid w-[calc(100vw-2rem)] max-w-2xl gap-4 rounded-2xl bg-background p-6 shadow-2xl outline-hidden",
5858
MODAL_CONTENT_MOTION_CLASS,
5959
className,
6060
)}

‎desktop/src/shared/ui/identity-card-skeleton.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function IdentityCardSkeleton({
1717
return (
1818
<div
1919
className={cn(
20-
"relative aspect-[4/5] w-full min-w-0 overflow-hidden rounded-xl border border-border/70 bg-muted/50 shadow-xs",
20+
"relative aspect-[4/5] w-full min-w-0 overflow-hidden rounded-2xl border border-border/70 bg-muted/50 shadow-xs",
2121
className,
2222
)}
2323
>

0 commit comments

Comments
 (0)