summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-12-04 08:48:11 -0800
committerCorey Hulen <corey@hulen.com>2015-12-04 08:48:11 -0800
commit1d67f26664f8cf98f52433ef8b081b6fb485eadb (patch)
tree04ae12ae8b1d75720f22c9d381985cd8cbe51651 /web/react/utils
parent622fbc67402fe36bc01163a5a80643a15758e094 (diff)
parent38a0c5dd761fed5d82b26614447d238628bee6e1 (diff)
downloadchat-1d67f26664f8cf98f52433ef8b081b6fb485eadb.tar.gz
chat-1d67f26664f8cf98f52433ef8b081b6fb485eadb.tar.bz2
chat-1d67f26664f8cf98f52433ef8b081b6fb485eadb.zip
Merge pull request #1617 from asaadmahmoodspin/ui-improvements
Multiple UI Improvements
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/utils.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 0a52f5b37..ac0640f6e 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -681,7 +681,11 @@ export function applyTheme(theme) {
}
if (theme.mentionHighlightBg) {
- changeCss('.mention-highlight, .search-highlight', 'background:' + theme.mentionHighlightBg, 1);
+ changeCss('.mention-highlight, .search-highlight, #archive-link-home', 'background:' + theme.mentionHighlightBg, 1);
+ }
+
+ if (theme.mentionHighlightBg) {
+ changeCss('.post.post--highlight, #archive-link-home', 'background:' + changeOpacity(theme.mentionHighlightBg, 0.5), 1);
}
if (theme.mentionHighlightLink) {