aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/components/ui/badge.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-02-09 02:17:45 +0000
committerMohamedBassem <me@mbassem.com>2024-02-09 02:51:39 +0000
commitb25f17509e704eb41523bf455a33804cabf8aaca (patch)
treec1449bb3b8326504a32cc907b64a809a1290fe1d /packages/web/components/ui/badge.tsx
parent08a5694e451218f1bcb2ad9eb42fd93250afbb96 (diff)
downloadkarakeep-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.tsx8
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",
},
},