File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ def default_attrs
19
19
class : [
20
20
"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background accent-primary" ,
21
21
"disabled:cursor-not-allowed disabled:opacity-50" ,
22
+ "checked:bg-primary checked:text-primary-foreground" ,
22
23
"aria-disabled:cursor-not-allowed aria-disabled:opacity-50 aria-disabled:pointer-events-none" ,
23
24
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
24
25
]
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ def default_attrs
14
14
"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background accent-primary" ,
15
15
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2" ,
16
16
"disabled:cursor-not-allowed disabled:opacity-50" ,
17
+ "checked:bg-primary checked:text-primary-foreground" ,
17
18
"aria-disabled:cursor-not-allowed aria-disabled:opacity-50 aria-disabled:pointer-events-none"
18
19
] ,
19
20
data : {
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ def default_attrs
18
18
class : [
19
19
"h-4 w-4 p-0 border-primary rounded-full flex-none" ,
20
20
"disabled:cursor-not-allowed disabled:opacity-50" ,
21
+ "checked:bg-primary checked:text-primary-foreground" ,
21
22
"aria-disabled:cursor-not-allowed aria-disabled:opacity-50 aria-disabled:pointer-events-none"
22
23
]
23
24
}
You can’t perform that action at this time.
0 commit comments