diff options
| author | MohamedBassem <me@mbassem.com> | 2024-02-09 02:17:45 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-02-09 02:51:39 +0000 |
| commit | b25f17509e704eb41523bf455a33804cabf8aaca (patch) | |
| tree | c1449bb3b8326504a32cc907b64a809a1290fe1d /packages/web/components/ui/badge.tsx | |
| parent | 08a5694e451218f1bcb2ad9eb42fd93250afbb96 (diff) | |
| download | karakeep-b25f17509e704eb41523bf455a33804cabf8aaca.tar.zst | |
[chore] Linting and formating tweaking
Diffstat (limited to 'packages/web/components/ui/badge.tsx')
| -rw-r--r-- | packages/web/components/ui/badge.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/web/components/ui/badge.tsx b/packages/web/components/ui/badge.tsx index d3d5d604..c30daca1 100644 --- a/packages/web/components/ui/badge.tsx +++ b/packages/web/components/ui/badge.tsx @@ -4,16 +4,16 @@ import { cva, type VariantProps } from "class-variance-authority"; import { cn } from "@/lib/utils"; const badgeVariants = cva( - "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", + "focus:ring-ring inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2", { variants: { variant: { default: - "border-transparent bg-primary text-primary-foreground hover:bg-primary/80", + "bg-primary text-primary-foreground hover:bg-primary/80 border-transparent", secondary: - "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80", + "bg-secondary text-secondary-foreground hover:bg-secondary/80 border-transparent", destructive: - "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80", + "bg-destructive text-destructive-foreground hover:bg-destructive/80 border-transparent", outline: "text-foreground", }, }, |
