π OpenHands: AI-Driven Development
fix(theme): keep destructive button labels readable (#18513)
Engel Nystfd660b681279
diff --git a/src/components/features/settings/brand-button.tsx b/src/components/features/settings/brand-button.tsxindex 768f7ed143..0926b404e1 100644--- a/src/components/features/settings/brand-button.tsx+++ b/src/components/features/settings/brand-button.tsx@@ -62,9 +62,10 @@ export const BrandButton = forwardRef<"border border-border bg-base-secondary text-contrast hover:bg-surface-raised",variant === "tertiary" &&"bg-interactive-hover text-contrast hover:opacity-80",- variant === "danger" && "bg-red-600 text-white hover:bg-red-700",+ variant === "danger" &&+ "bg-feedback-error text-contrast-foreground hover:bg-feedback-error/90",variant === "ghost-danger" &&- "h-auto min-h-0 bg-transparent px-0 text-red-600 underline hover:text-red-700 hover:no-underline font-normal",+ "h-auto min-h-0 bg-transparent px-0 text-feedback-error underline hover:no-underline font-normal",startContent && "flex items-center justify-center gap-2",className,)}