We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49845bb commit 905dc5eCopy full SHA for 905dc5e
src/components/Tag/Tag.tsx
@@ -4,7 +4,7 @@ import { cn } from "../../utilities";
4
5
export const tagVariants = cva("shrink-0 flex items-center justify-center gap-0.5 py-0.5 px-1", {
6
variants: {
7
- rounded: { false: "rounded-md", true: "rounded-rounded" },
+ rounded: { false: "", true: "rounded-rounded" },
8
size: { sm: "h-6 text-text-sm", xs: "h-5 text-text-xs" },
9
emphasis: {
10
bold: "",
@@ -26,6 +26,16 @@ export const tagVariants = cva("shrink-0 flex items-center justify-center gap-0.
26
}
27
},
28
compoundVariants: [
29
+ {
30
+ rounded: false,
31
+ size: "sm",
32
+ class: "rounded-md"
33
+ },
34
35
36
+ size: "xs",
37
+ class: "rounded-sm"
38
39
// gray
40
{
41
emphasis: "bold",
0 commit comments