fix: radio style update

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-07-02 11:20:54 +08:00
parent d3de812b12
commit ecce22d0a7
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
1 changed files with 5 additions and 3 deletions

View File

@ -32,9 +32,11 @@ export const RadioCard: FC<
id={groupId || id}
className={cn(
"flex cursor-pointer items-center rounded-md p-2",
"border bg-background hover:border-theme-accent-400 hover:bg-theme-item-hover",
"ring-theme-accent/20 duration-200 focus:outline-none focus:ring-2",
selected && "border-theme-accent-500 bg-theme-item-active",
"border bg-background hover:border-theme-accent-400",
"ring-0 ring-theme-accent/20 duration-200",
selected && "border-theme-accent-500 border-theme-accent/80 outline-none ring-2",
wrapperClassName,
)}
>