From b739de419c68b657618a80cde4382d4701b825ad Mon Sep 17 00:00:00 2001 From: Emma Segal-Grossman Date: Tue, 29 Jul 2025 18:06:28 -0400 Subject: [PATCH] Fix a couple issues with `btrix-badge` component (#2779) Closes #2774 ## Changes - Allows badges to expand in height when necessary - Fixes `variant` type not including `"blue"` variant - Fixes missing background for `"neutral"` variant --- frontend/src/components/ui/badge.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/ui/badge.ts b/frontend/src/components/ui/badge.ts index a6f0fad7..f5d7144a 100644 --- a/frontend/src/components/ui/badge.ts +++ b/frontend/src/components/ui/badge.ts @@ -12,6 +12,7 @@ export type BadgeVariant = | "neutral" | "primary" | "cyan" + | "blue" | "high-contrast"; /** @@ -46,7 +47,7 @@ export class Badge extends TailwindElement { return html`