- {payload.phase === "available" || payload.phase === "error" ? (
+
+ {primaryActionLabel ? (
- ) : null}
-
- {payload.phase === "ready" ? (
-
) : null}
@@ -217,7 +330,7 @@ export function UpdateToastWindow() {
onClick={async () => {
await window.electronAPI.dismissUpdateToast();
}}
- className="rounded-xl border border-white/10 bg-white/5 px-3 py-2 text-xs font-medium text-white/85 transition-colors hover:bg-white/10"
+ style={subtleButtonStyle}
>
Hide
@@ -234,7 +347,7 @@ export function UpdateToastWindow() {
await window.electronAPI.deferDownloadedUpdate(payload.delayMs);
}}
- className="rounded-xl border border-white/10 bg-white/5 px-3 py-2 text-xs font-medium text-white/85 transition-colors hover:bg-white/10"
+ style={subtleButtonStyle}
>
Later ({formatDelayHours(payload.delayMs)})
@@ -251,7 +364,7 @@ export function UpdateToastWindow() {
await window.electronAPI.deferDownloadedUpdate(THREE_DAYS_MS);
}}
- className="rounded-xl border border-white/10 bg-white/5 px-3 py-2 text-xs font-medium text-white/85 transition-colors hover:bg-white/10"
+ style={subtleButtonStyle}
>
Later (3 days)
@@ -263,7 +376,7 @@ export function UpdateToastWindow() {
onClick={async () => {
await window.electronAPI.skipUpdateVersion();
}}
- className="rounded-xl border border-sky-300/15 bg-transparent px-3 py-2 text-xs font-medium text-white/65 transition-colors hover:bg-white/5 hover:text-white"
+ style={ghostButtonStyle}
>
Skip This Version
diff --git a/src/index.css b/src/index.css
index 4a863e92..680e5297 100644
--- a/src/index.css
+++ b/src/index.css
@@ -3,6 +3,14 @@
@tailwind utilities;
@layer base {
+ html,
+ body,
+ #root {
+ width: 100%;
+ height: 100%;
+ margin: 0;
+ }
+
:root {
--brand-accent: #2563eb;
--brand-accent-rgb: 37, 99, 235;