Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/apollo-vertex/app/shadcn-components/badge/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Displays a badge or a component that looks like a badge.
<Badge variant="secondary">Secondary</Badge>
<Badge variant="destructive">Destructive</Badge>
<Badge variant="outline">Outline</Badge>
<Badge variant="funtimes">Funtimes</Badge>
</div>

## Installation
Expand All @@ -28,4 +29,5 @@ import { Badge } from "@/components/ui/badge"
<Badge variant="secondary">Secondary</Badge>
<Badge variant="destructive">Destructive</Badge>
<Badge variant="outline">Outline</Badge>
<Badge variant="funtimes">Funtimes</Badge>
```
2 changes: 1 addition & 1 deletion apps/apollo-vertex/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";
import "./.next/dev/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
2 changes: 2 additions & 0 deletions apps/apollo-vertex/registry/badge/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ const badgeVariants = cva(
"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
outline:
"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
funtimes:
"border-transparent bg-purple-500 text-white [a&]:hover:bg-purple-600 dark:bg-purple-600 dark:[a&]:hover:bg-purple-700",
},
},
defaultVariants: {
Expand Down
Loading