Skip to content

Commit

Permalink
corrected wrong colors
Browse files Browse the repository at this point in the history
  • Loading branch information
coderwelsch committed Jan 29, 2024
1 parent c28f4d2 commit ebe7368
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/form-field/radio-box/radio-box-option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ const radioBoxContainerStyles = {
base: "group relative flex items-center gap-3 rounded-lg bg-neutral-0 border p-4 border-neutral-300 hover:border-primary-600 hover:bg-primary-50 cursor-pointer focus:outline-none",
checked: "border-primary-600 bg-primary-600 hover:bg-primary-600 hover:text-neutral-0",
disabled:
"border-neutral-400 bg-neutral-100 group-hover:border-neutral-400 group-hover:bg-neutral-100 hover:border-neutral-400 hover:bg-neutral-100 cursor-not-allowed",
"bg-neutral-100 group-hover:border-neutral-300 group-hover:bg-neutral-100 hover:border-neutral-300 hover:bg-neutral-100 cursor-not-allowed",
active: "ring-2 ring-primary-200",
};

const radioBoxCircleStyles = {
base: "relative inline-block h-4 w-4 shrink-0 rounded-full bg-neutral-0 border border-neutral-400",
base: "relative inline-block h-4 w-4 shrink-0 rounded-full bg-neutral-0 border border-neutral-300",
unchecked: "group-hover:border-primary-600 group-hover:bg-neutral-0",
checked: "border-transparent",
disabled: "bg-neutral-100 group-hover:border-neutral-400 group-hover:bg-neutral-100",
disabled:
"bg-neutral-300 border-neutral-300 group-hover:border-neutral-300 group-hover:bg-neutral-300",
};

const Title = ({ children }: { children: React.ReactNode }) => (
Expand Down

0 comments on commit ebe7368

Please sign in to comment.