Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix(theme): keep launch errors and retry readable (#18515)

Engel Nyst080154fd7a18
diff --git a/src/routes/launch.tsx b/src/routes/launch.tsx
index 0d7a227e68..c796e26255 100644
--- a/src/routes/launch.tsx
+++ b/src/routes/launch.tsx
@@ -105,7 +105,7 @@ function ErrorDisplay({
data-testid="launch-error"
>
<div className="max-w-md rounded-lg bg-surface p-6 text-center">
- <h2 className="mb-4 text-xl font-medium text-red-400">
+ <h2 className="mb-4 text-xl font-medium text-feedback-error">
{t(I18nKey.LAUNCH$ERROR_TITLE)}
</h2>
<p className="mb-6 text-text-tertiary">{errorMessages[errorType]}</p>
@@ -122,7 +122,7 @@ function ErrorDisplay({
<button
type="button"
onClick={onTryAgain}
- className="rounded-md bg-blue-600 px-4 py-2 text-sm text-white hover:bg-blue-700"
+ className="rounded-md bg-contrast px-4 py-2 text-sm text-contrast-foreground hover:bg-contrast/90"
data-testid="try-again-button"
>
{t(I18nKey.LAUNCH$TRY_AGAIN)}