🎨 fix(theme): align UI controls with global radius tokens
Remove hard-coded and capped border radius overrides so shared controls and feature actions consistently follow the active theme radius. - Replace fixed radius utilities with semantic theme-aware radius tokens - Remove redundant `rounded-full` and pixel-based overrides from header, toolbar, Playground, and utility actions - Drop unused `StatusBadge` rounded prop usage - Keep existing component behavior intact while improving global theme consistency
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ const mockupVariants = cva(
|
||||
{
|
||||
variants: {
|
||||
type: {
|
||||
mobile: 'rounded-[48px] max-w-[350px]',
|
||||
mobile: 'rounded-4xl max-w-[350px]',
|
||||
responsive: 'rounded-md',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -94,7 +94,7 @@ export function NavGroup({ title, items }: NavGroupProps) {
|
||||
* Navigation badge component
|
||||
*/
|
||||
function NavBadge({ children }: { children: ReactNode }) {
|
||||
return <Badge className='rounded-full px-1 py-0 text-xs'>{children}</Badge>
|
||||
return <Badge className='px-1 py-0 text-xs'>{children}</Badge>
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -195,8 +195,11 @@ export function PublicHeader(props: PublicHeaderProps) {
|
||||
{showAuthButtons && !loading && isAuthenticated && (
|
||||
<ProfileDropdown />
|
||||
)}
|
||||
<button
|
||||
className='hover:bg-muted/40 flex size-9 items-center justify-center rounded-lg transition-colors'
|
||||
<Button
|
||||
type='button'
|
||||
variant='ghost'
|
||||
size='icon'
|
||||
className='size-9'
|
||||
onClick={() => setMobileOpen((v) => !v)}
|
||||
aria-label={t('Toggle navigation menu')}
|
||||
>
|
||||
@@ -220,7 +223,7 @@ export function PublicHeader(props: PublicHeaderProps) {
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
</button>
|
||||
</Button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user