From 0d94f74237b0da24d1854e8541cb758b54a89708 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Mon, 3 May 2021 23:24:32 +0200 Subject: [PATCH] MM-31874 Properly use theme mention highlight link color (#5366) (#5368) (cherry picked from commit 4880689bdc2e25a704444522e0e691e91e8cad66) Co-authored-by: Elias Nahum --- app/components/at_mention/__snapshots__/at_mention.test.js.snap | 2 +- app/components/at_mention/at_mention.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/at_mention/__snapshots__/at_mention.test.js.snap b/app/components/at_mention/__snapshots__/at_mention.test.js.snap index 934ece814..968931922 100644 --- a/app/components/at_mention/__snapshots__/at_mention.test.js.snap +++ b/app/components/at_mention/__snapshots__/at_mention.test.js.snap @@ -34,7 +34,7 @@ exports[`AtMention should match snapshot, with highlight 1`] = ` }, Object { "backgroundColor": "#ffe577", - "color": "#145dbf", + "color": "#166de0", }, ] } diff --git a/app/components/at_mention/at_mention.js b/app/components/at_mention/at_mention.js index aa4be87ec..1481b8c46 100644 --- a/app/components/at_mention/at_mention.js +++ b/app/components/at_mention/at_mention.js @@ -205,7 +205,7 @@ export default class AtMention extends React.PureComponent { } if (highlighted) { - mentionTextStyle.push({backgroundColor, color: theme.mentionColor}); + mentionTextStyle.push({backgroundColor, color: theme.mentionHighlightLink}); } return (