|
|
@@ -97,9 +97,9 @@ export const RadioButton = React.forwardRef<RadioButtonDerivedElement, RadioButt |
|
|
|
className={tw( |
|
|
|
'items-center justify-start rounded overflow-hidden ring-secondary/50 leading-none select-none cursor-pointer relative', |
|
|
|
'peer-focus:outline-0 peer-focus:ring-4 peer-focus:ring-secondary/50', |
|
|
|
'active:ring-tertiary/50 active:ring-4', |
|
|
|
'active:ring-tertiary/50 active:ring-4 active:text-tertiary', |
|
|
|
'peer-disabled:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:ring-0', |
|
|
|
'text-primary focus:text-secondary active:text-tertiary', |
|
|
|
'text-primary peer-checked:text-tertiary peer-focus:text-secondary peer-active:text-tertiary', |
|
|
|
{ |
|
|
|
'flex w-full': block, |
|
|
|
'inline-flex max-w-full align-middle': !block, |
|
|
|