From 3e2ddaca4f493a200a20cca4972a0a5f19db779f Mon Sep 17 00:00:00 2001 From: Hampus Date: Fri, 4 Sep 2026 18:21:27 +0200 Subject: [PATCH] fix(message): turn links red in failed messages (#2455) --- fluxer_app/src/features/theme/styles/Markup.module.css | 6 +++--- fluxer_app/src/features/theme/styles/Message.module.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fluxer_app/src/features/theme/styles/Markup.module.css b/fluxer_app/src/features/theme/styles/Markup.module.css index 98f3c72ae..e839b291c 100644 --- a/fluxer_app/src/features/theme/styles/Markup.module.css +++ b/fluxer_app/src/features/theme/styles/Markup.module.css @@ -111,7 +111,7 @@ } .markup .link { - color: var(--text-link) !important; + color: var(--markup-link-color, var(--text-link)) !important; text-decoration: var(--link-decoration, none); transition: color var(--transition-fast), @@ -124,12 +124,12 @@ :global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard)) .markup .link:hover { - color: var(--text-link) !important; + color: var(--markup-link-color, var(--text-link)) !important; text-decoration: underline; } .markup .link[data-context-menu-open='true'] { - color: var(--text-link) !important; + color: var(--markup-link-color, var(--text-link)) !important; text-decoration: underline; } diff --git a/fluxer_app/src/features/theme/styles/Message.module.css b/fluxer_app/src/features/theme/styles/Message.module.css index 323452237..c1306680e 100644 --- a/fluxer_app/src/features/theme/styles/Message.module.css +++ b/fluxer_app/src/features/theme/styles/Message.module.css @@ -209,6 +209,7 @@ } .messageFailed { + --markup-link-color: var(--status-danger); color: var(--status-danger); } @@ -217,7 +218,6 @@ opacity: 1; } -.messageFailed .link, .messageFailed a { color: var(--status-danger) !important; }