From 698ca63d991f4246060223642116a78302a5af32 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Wed, 7 Oct 2015 14:41:24 +0500 Subject: PLT-522 - Adding option for mentionHighlightLink for themes --- web/react/utils/utils.jsx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/react/utils/utils.jsx') diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 3a04f3623..2fcac4900 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -536,6 +536,10 @@ export function applyTheme(theme) { if (theme.mentionHighlightBg) { changeCss('.mention-highlight, .search-highlight', 'background:' + theme.mentionHighlightBg, 1); } + + if (theme.mentionHighlightLink) { + changeCss('.mention-highlight .mention-link', 'color:' + theme.mentionHighlightLink, 1); + } } export function changeCss(className, classValue, classRepeat) { // we need invisible container to store additional css definitions -- cgit v1.2.3-1-g7c22