mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
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:
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user