Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(message): turn mentions red in failed messages (#2456)

Hampus6163fd56448e
diff --git a/fluxer_app/src/features/theme/styles/Markup.module.css b/fluxer_app/src/features/theme/styles/Markup.module.css
index e839b291c..0acee9092 100644
--- a/fluxer_app/src/features/theme/styles/Markup.module.css
+++ b/fluxer_app/src/features/theme/styles/Markup.module.css
@@ -537,7 +537,7 @@
margin: 0;
font-weight: 500;
unicode-bidi: plaintext;
- color: var(--mention-color) !important;
+ color: var(--markup-mention-color, var(--mention-color)) !important;
background-color: var(--markup-mention-fill);
border: 0;
box-shadow: none;
@@ -585,7 +585,7 @@
.markup .mention.interactive.mentionActive,
.inlineFormat .mention.interactive.mentionActive {
background-color: var(--markup-interactive-hover-fill);
- color: var(--text-link) !important;
+ color: var(--markup-mention-color, var(--text-link)) !important;
text-decoration: none;
}
diff --git a/fluxer_app/src/features/theme/styles/Message.module.css b/fluxer_app/src/features/theme/styles/Message.module.css
index c1306680e..53788763e 100644
--- a/fluxer_app/src/features/theme/styles/Message.module.css
+++ b/fluxer_app/src/features/theme/styles/Message.module.css
@@ -210,6 +210,7 @@
.messageFailed {
--markup-link-color: var(--status-danger);
+ --markup-mention-color: var(--status-danger);
color: var(--status-danger);
}