From aa91e1f163b5e5d207d76802f4f5f8d5df470139 Mon Sep 17 00:00:00 2001 From: ZTatman Date: Sun, 16 Aug 2026 19:40:27 -0400 Subject: [PATCH 1/5] fix(ui): make borderless buttons red by default with darker hover Changes .btn-borderless from transparent to red (#c62030) background with darker red (#a81a27) on hover. Updates header-specific overrides to match the new default style. --- web/app/static/css/input.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/static/css/input.css b/web/app/static/css/input.css index 12e1d5f..8471ed6 100644 --- a/web/app/static/css/input.css +++ b/web/app/static/css/input.css @@ -159,7 +159,7 @@ } .btn-borderless { - @apply bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground; + @apply bg-danger text-white hover:bg-danger/80; } .app-header { @@ -186,11 +186,12 @@ } .app-header .btn-borderless { + background: #c62030; color: #f7f2e8; } .app-header .btn-borderless:hover { - background: rgb(247 242 232 / 10%); + background: #a81a27; color: #fffdf8; } From d7728793361a544288cb0d3b93d5d84f00286a88 Mon Sep 17 00:00:00 2001 From: ZTatman Date: Sun, 16 Aug 2026 19:41:23 -0400 Subject: [PATCH 2/5] fix(ui): keep nav bar borderless buttons as transparent Reverts header-specific .btn-borderless override so Dashboard and Settings nav buttons remain transparent with accent hover. Only non-header borderless buttons get the red default style. --- web/app/static/css/input.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/app/static/css/input.css b/web/app/static/css/input.css index 8471ed6..abfe2e8 100644 --- a/web/app/static/css/input.css +++ b/web/app/static/css/input.css @@ -186,12 +186,11 @@ } .app-header .btn-borderless { - background: #c62030; color: #f7f2e8; } .app-header .btn-borderless:hover { - background: #a81a27; + background: rgb(247 242 232 / 10%); color: #fffdf8; } From a2d59a9351002f6f5844375f4782903b9eae82f8 Mon Sep 17 00:00:00 2001 From: ZTatman Date: Sun, 16 Aug 2026 19:43:01 -0400 Subject: [PATCH 3/5] fix(ui): reset header borderless button background to transparent The .app-header .btn-borderless override was missing background:transparent, so the red bg-danger from the base .btn-borderless leaked into nav buttons. --- web/app/static/css/input.css | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/static/css/input.css b/web/app/static/css/input.css index abfe2e8..5e71e97 100644 --- a/web/app/static/css/input.css +++ b/web/app/static/css/input.css @@ -186,6 +186,7 @@ } .app-header .btn-borderless { + background: transparent; color: #f7f2e8; } From b58750eb7b32d0fbce6879bfdb1c7f87e7387101 Mon Sep 17 00:00:00 2001 From: ZTatman Date: Sun, 16 Aug 2026 19:44:16 -0400 Subject: [PATCH 4/5] fix(ui): make primary buttons red by default with darker hover Changes .btn-primary from dark (#17191c) to red (#c62030) background with darker red (#a81a27) on hover. Affects Open dashboard, Sign in, Create share link, and other primary action buttons. --- web/app/static/css/input.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/static/css/input.css b/web/app/static/css/input.css index 5e71e97..4a57f45 100644 --- a/web/app/static/css/input.css +++ b/web/app/static/css/input.css @@ -151,7 +151,7 @@ } .btn-primary { - @apply text-primary-foreground bg-primary-hover hover:bg-[#c62030]/90 hover:text-[#f7f2e8]; + @apply bg-danger text-white hover:bg-[#a81a27]; } .btn-secondary { From 68abf524192c336ed498e2e6d915f640410c2408 Mon Sep 17 00:00:00 2001 From: ZTatman Date: Sun, 16 Aug 2026 19:58:06 -0400 Subject: [PATCH 5/5] fix: use darker danger tokens, replace magic hex values, remove unused CSS tokens - Set --color-danger to #d93f2d (dark theme), #b01c2a (light theme) - Added --color-danger-hover with darkened values - Replaced magic hex in error.html with var() references - Updated JS glow animation to match new danger color - Removed unused tokens: primary-foreground, primary-hover, primary-muted, border-subtle --- web/app/static/css/input.css | 40 +++++++++++++++--------------------- web/app/templates/error.html | 12 +++++------ 2 files changed, 23 insertions(+), 29 deletions(-) diff --git a/web/app/static/css/input.css b/web/app/static/css/input.css index 4a57f45..f334266 100644 --- a/web/app/static/css/input.css +++ b/web/app/static/css/input.css @@ -17,15 +17,11 @@ --color-accent-foreground: #17191c; --color-primary: #2a2d31; - --color-primary-foreground: #ffffff; - --color-primary-hover: #17191c; - --color-primary-muted: rgb(23 25 28 / 10%); --color-secondary: #eeeeea; --color-secondary-foreground: #17191c; --color-border: #d8d8d2; - --color-border-subtle: #e9e9e4; --color-input: #ffffff; --color-ring: #2a2d31; --color-ring-muted: rgb(23 25 28 / 12%); @@ -39,9 +35,10 @@ --color-warning-foreground: oklch(54.7% 0.13 65); --color-warning-muted: oklch(96.3% 0.052 85); - --color-danger: #c62030; - --color-danger-foreground: #c62030; - --color-danger-muted: rgb(198 32 48 / 10%); + --color-danger: #b01c2a; + --color-danger-foreground: #d94555; + --color-danger-hover: #9a1824; + --color-danger-muted: rgb(176 28 42 / 10%); --color-expired: #5c5c58; --color-expired-foreground: #4b4b47; @@ -70,15 +67,11 @@ --color-accent-foreground: #f7f2e8; --color-primary: #2a2d31; - --color-primary-foreground: #f7f2e8; - --color-primary-hover: #17191c; - --color-primary-muted: rgb(247 242 232 / 14%); --color-secondary: #282b30; --color-secondary-foreground: #f7f2e8; --color-border: #34373d; - --color-border-subtle: #282b30; --color-input: #1f2226; --color-ring: #f7f2e8; --color-ring-muted: rgb(247 242 232 / 18%); @@ -92,8 +85,9 @@ --color-warning-foreground: oklch(86% 0.13 75); --color-warning-muted: oklch(35% 0.075 75); - --color-danger: #f04a36; - --color-danger-foreground: #ff7a66; + --color-danger: #d93f2d; + --color-danger-foreground: #f06a58; + --color-danger-hover: #c23625; --color-danger-muted: rgb(240 74 54 / 18%); --color-expired: #bdb8ad; @@ -151,7 +145,7 @@ } .btn-primary { - @apply bg-danger text-white hover:bg-[#a81a27]; + @apply bg-danger text-white hover:bg-danger-hover; } .btn-secondary { @@ -159,7 +153,7 @@ } .btn-borderless { - @apply bg-danger text-white hover:bg-danger/80; + @apply bg-danger text-white hover:bg-danger-hover; } .app-header { @@ -173,8 +167,8 @@ .app-header a, .app-header button, .app-header nav svg { - color: #f7f2e8; - stroke: #f7f2e8; + color: var(--color-foreground); + stroke: var(--color-foreground); } .app-header .brand-link svg { @@ -182,29 +176,29 @@ } .app-header .brand-link svg path[fill="#17191C"] { - fill: #f7f2e8; + fill: var(--color-foreground); } .app-header .btn-borderless { background: transparent; - color: #f7f2e8; + color: var(--color-foreground); } .app-header .btn-borderless:hover { background: rgb(247 242 232 / 10%); - color: #fffdf8; + color: var(--color-foreground); } .app-header .btn-secondary { background: rgb(247 242 232 / 8%); border-color: rgb(247 242 232 / 18%); - color: #f7f2e8; + color: var(--color-foreground); } .app-header .btn-secondary:hover { background: rgb(247 242 232 / 14%); border-color: rgb(247 242 232 / 28%); - color: #fffdf8; + color: var(--color-foreground); } .landing-page .app-header { @@ -212,7 +206,7 @@ } .landing-page { - background: #17191c; + background: var(--color-background); } .brand-link svg { diff --git a/web/app/templates/error.html b/web/app/templates/error.html index 0264a44..4e0cf3d 100644 --- a/web/app/templates/error.html +++ b/web/app/templates/error.html @@ -78,14 +78,14 @@ 90% { transform: translate(-2px, 2px); } } .btn-zapped { - background: #c62030 !important; - color: #f7f2e8 !important; - box-shadow: 0 0 12px 4px rgba(198, 32, 48, 0.5), 0 0 30px 8px rgba(198, 32, 48, 0.25); + background: var(--color-danger) !important; + color: var(--color-foreground) !important; + box-shadow: 0 0 12px 4px color-mix(in srgb, var(--color-danger) 50%, transparent), 0 0 30px 8px color-mix(in srgb, var(--color-danger) 25%, transparent); animation: rattle 0.15s linear infinite; } #go-home-btn:hover { - background: #c62030; - color: #f7f2e8; + background: var(--color-danger-hover); + color: var(--color-foreground); } {% endif %} @@ -185,7 +185,7 @@ const blur = 30 + t * 40; const opacity = 0.5 + t * 0.4; const scale = 1 + t * 0.06; - btn.style.boxShadow = `0 0 ${spread}px ${spread/3}px rgba(198,32,48,${opacity}), 0 0 ${blur}px ${blur/3}px rgba(198,32,48,${opacity * 0.5})`; + btn.style.boxShadow = `0 0 ${spread}px ${spread/3}px rgba(217,63,45,${opacity}), 0 0 ${blur}px ${blur/3}px rgba(217,63,45,${opacity * 0.5})`; btn.style.scale = scale; if (t < 1) requestAnimationFrame(intensify); }