mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-07 01:56:53 +00:00
🎨 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:
+3
-3
@@ -64,7 +64,7 @@ export function ConfigDrawer() {
|
||||
variant='ghost'
|
||||
aria-label={t('Open theme settings')}
|
||||
aria-describedby='config-drawer-description'
|
||||
className='rounded-full max-md:hidden'
|
||||
className='max-md:hidden'
|
||||
/>
|
||||
}
|
||||
>
|
||||
@@ -119,7 +119,7 @@ function SectionTitle(props: {
|
||||
<Button
|
||||
size='icon'
|
||||
variant='secondary'
|
||||
className='size-4 rounded-full'
|
||||
className='size-4'
|
||||
onClick={props.onReset}
|
||||
aria-label='Reset'
|
||||
>
|
||||
@@ -148,7 +148,7 @@ function RadioGroupItem(props: {
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
'ring-border relative rounded-[6px] ring-[1px]',
|
||||
'ring-border relative rounded-md ring-[1px]',
|
||||
'group-data-checked:ring-primary group-data-checked:shadow-2xl',
|
||||
'group-focus-visible:ring-2'
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user