mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-29 06:07:25 +02:00
💄 More tweaks
This commit is contained in:
parent
e3eaee864f
commit
8e7cf4a59e
3 changed files with 29 additions and 21 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue