Skip to content

Commit b7ad558

Browse files
committed
fix: Incorrect radio button border color under the dark theme
1 parent eaaacca commit b7ad558

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/retroui/Radio.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { cn } from "@/lib/utils";
22
import * as RadioPrimitive from "@radix-ui/react-radio-group";
33
import { cva, VariantProps } from "class-variance-authority";
44

5-
const radioVariants = cva("border-black border-2", {
5+
const radioVariants = cva("border-border border-2", {
66
variants: {
77
variant: {
88
default: "",
@@ -24,9 +24,9 @@ const radioVariants = cva("border-black border-2", {
2424
const radioIndicatorVariants = cva("flex ", {
2525
variants: {
2626
variant: {
27-
default: "bg-primary border-2 border-black",
28-
outline: "border-2 border-black",
29-
solid: "bg-black",
27+
default: "bg-primary border-2 border-border",
28+
outline: "border-2 border-border",
29+
solid: "bg-border",
3030
},
3131
size: {
3232
sm: "h-2 w-2",

0 commit comments

Comments
 (0)