Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ui): update Badge background to use content-based opacity

Steven Enamakelcf70bdb505ee
diff --git a/app/src/components/ui/Badge.tsx b/app/src/components/ui/Badge.tsx
index 304a75bcba..84ab05de29 100644
--- a/app/src/components/ui/Badge.tsx
+++ b/app/src/components/ui/Badge.tsx
@@ -10,7 +10,7 @@ import { cn } from '../../lib/cn';
* success / warning / danger apart, so a row of chips stays calm.
*/
export const badgeVariants = cva(
- 'inline-flex items-center gap-1.5 whitespace-nowrap rounded-md border border-line/60 bg-surface-subtle/60 px-2 py-0.5 text-xs font-medium leading-5 text-content',
+ 'inline-flex items-center gap-1.5 whitespace-nowrap rounded-md border border-line/60 bg-content/5 px-2 py-0.5 text-xs font-medium leading-5 text-content',
{
variants: { variant: { neutral: '', primary: '', success: '', warning: '', danger: '' } },
defaultVariants: { variant: 'neutral' },