💄 More tweaks

This commit is contained in:
Luke Vella 2025-03-31 22:32:47 +01:00
parent e3eaee864f
commit 8e7cf4a59e
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
3 changed files with 29 additions and 21 deletions

View file

@ -4,16 +4,16 @@ import * as React from "react";
import { cn } from "./lib/utils";
const badgeVariants = cva(
"inline-flex group whitespace-nowrap items-center rounded-full border justify-center font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
"inline-flex group whitespace-nowrap items-center rounded-full justify-center font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
{
variants: {
variant: {
primary: "border-transparent bg-primary text-primary-50",
primary: "bg-primary text-primary-50",
default: "bg-gray-50 text-secondary-foreground",
destructive:
"border-transparent bg-destructive text-destructive-foreground",
destructive: "bg-destructive text-destructive-foreground",
outline: "text-foreground",
green: "border-transparent bg-green-500 text-green-50",
green: "bg-green-600 text-white",
secondary: "text-primary bg-primary-50",
},
size: {
md: "h-6 min-w-5 text-xs px-2",