File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @zenml-io/react-component-library " : patch
3+ ---
4+
5+ adjust border radius of tags based on tag size
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { cn } from "../../utilities";
44
55export const tagVariants = cva ( "shrink-0 flex items-center justify-center gap-0.5 py-0.5 px-1" , {
66 variants : {
7- rounded : { false : "rounded-md " , true : "rounded-rounded" } ,
7+ rounded : { false : "" , true : "rounded-rounded" } ,
88 size : { sm : "h-6 text-text-sm" , xs : "h-5 text-text-xs" } ,
99 emphasis : {
1010 bold : "" ,
@@ -26,6 +26,16 @@ export const tagVariants = cva("shrink-0 flex items-center justify-center gap-0.
2626 }
2727 } ,
2828 compoundVariants : [
29+ {
30+ rounded : false ,
31+ size : "sm" ,
32+ class : "rounded-md"
33+ } ,
34+ {
35+ rounded : false ,
36+ size : "xs" ,
37+ class : "rounded-sm"
38+ } ,
2939 // gray
3040 {
3141 emphasis : "bold" ,
You can’t perform that action at this time.
0 commit comments