1
Fork 0

Fix radio button color

This commit is contained in:
Hadeed 2024-06-11 06:25:22 +04:00
parent 298fa8de87
commit d19f7feb38

View file

@ -112,7 +112,7 @@ export default function App() {
key={label} key={label}
> >
<label className="flex cursor-pointer items-center justify-start gap-150 hover:text-green-600 group-data-[state='checked']:text-green-600"> <label className="flex cursor-pointer items-center justify-start gap-150 hover:text-green-600 group-data-[state='checked']:text-green-600">
<span className="relative size-300 rounded-full border-2 border-solid border-grey-500 bg-transparent group-data-[state='checked']:border-green-600"> <span className="relative size-300 rounded-full border-2 border-solid border-grey-500/50 bg-transparent group-data-[state='checked']:border-green-600">
<span className="absolute left-1/2 top-1/2 size-150 -translate-x-1/2 -translate-y-1/2 transform rounded-full bg-transparent group-data-[state='checked']:bg-green-600"></span> <span className="absolute left-1/2 top-1/2 size-150 -translate-x-1/2 -translate-y-1/2 transform rounded-full bg-transparent group-data-[state='checked']:bg-green-600"></span>
</span> </span>
<span className="text-body-md text-grey-900 group-hover:text-green-600 group-data-[state='checked']:text-green-600"> <span className="text-body-md text-grey-900 group-hover:text-green-600 group-data-[state='checked']:text-green-600">