MM-31874 Properly use theme mention highlight link color (#5366) (#5368)

(cherry picked from commit 4880689bdc)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2021-05-03 23:24:32 +02:00 committed by GitHub
parent 483f7187fc
commit 0d94f74237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ exports[`AtMention should match snapshot, with highlight 1`] = `
},
Object {
"backgroundColor": "#ffe577",
"color": "#145dbf",
"color": "#166de0",
},
]
}

View file

@ -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 (