From e2c7a0f987353f057101856e557ab6c4016b8c3f Mon Sep 17 00:00:00 2001 From: Louis King Date: Thu, 2 Jul 2026 21:28:06 +0100 Subject: [PATCH] fix(web): repair unstyled channel modal labels and invisible prose link hover The channels modal still used daisyUI v4's label-text class, which was removed in v5, so its form labels rendered unstyled. Replace with the Tailwind equivalent of what v4 produced (text-sm, muted). .prose a:hover used --color-primary-content (the on-primary foreground), making hovered markdown links nearly invisible against the page background. Blend primary toward base-content instead so the hover shade works in both themes. Co-Authored-By: Claude Fable 5 --- src/meshcore_hub/web/static/css/app.css | 2 +- src/meshcore_hub/web/static/js/spa/pages/channels.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/meshcore_hub/web/static/css/app.css b/src/meshcore_hub/web/static/css/app.css index 4b9af18..90d6991 100644 --- a/src/meshcore_hub/web/static/css/app.css +++ b/src/meshcore_hub/web/static/css/app.css @@ -233,7 +233,7 @@ } .prose a:hover { - color: var(--color-primary-content); + color: color-mix(in oklab, var(--color-primary) 70%, var(--color-base-content)); } .prose code { diff --git a/src/meshcore_hub/web/static/js/spa/pages/channels.js b/src/meshcore_hub/web/static/js/spa/pages/channels.js index 011d0d4..7228518 100644 --- a/src/meshcore_hub/web/static/js/spa/pages/channels.js +++ b/src/meshcore_hub/web/static/js/spa/pages/channels.js @@ -69,19 +69,19 @@ function renderChannelModal({ channel, isEdit, onSave, onCancel }) {

${title}

{ e.preventDefault(); onSave(); }}>
- + ${!isEdit ? html` - + ` : nothing} - + - ${t('channels.enabled_label')} + ${t('channels.enabled_label')}