From eeef817756e444943c9d95ea624f407e917f4d47 Mon Sep 17 00:00:00 2001 From: adamlobler Date: Tue, 16 Jun 2026 12:55:59 +0200 Subject: [PATCH] style(ui-avatar): use the rectangleradius token for the rectangle variant of the avatar --- packages/ui-avatar/src/Avatar/v2/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-avatar/src/Avatar/v2/styles.ts b/packages/ui-avatar/src/Avatar/v2/styles.ts index 783aeebc50..473050860e 100644 --- a/packages/ui-avatar/src/Avatar/v2/styles.ts +++ b/packages/ui-avatar/src/Avatar/v2/styles.ts @@ -158,7 +158,7 @@ const generateStyle = ( label: 'avatar', boxSizing: 'border-box', border: getBorder(), - borderRadius: shape === 'circle' ? '50%' : 0, + borderRadius: shape === 'circle' ? '50%' : componentTheme.rectangleRadius, ...sizeStyles[size!], background: hasInverseColor || color === 'ai'