fix(web): use button CSS variables for Retry button on error screen (#889)

--app-link resolves to #ffffff in dark mode, making the Retry button
invisible (white text on white background). Switch to --app-button /
--app-button-text which have correct contrast in both themes.

Fixes #43

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
HeavyGee
2026-06-18 10:01:39 +08:00
committed by GitHub
co-authored by Cursor
parent e23ae1b265
commit 0bf17b818e
+1 -1
View File
@@ -771,7 +771,7 @@ function SessionPage() {
<button
type="button"
onClick={() => { void refetchSession() }}
className="rounded-md bg-[var(--app-link)] px-3 py-1.5 text-sm text-white"
className="rounded-md bg-[var(--app-button)] px-3 py-1.5 text-sm text-[var(--app-button-text)]"
>
Retry
</button>