summaryrefslogtreecommitdiffstats
path: root/web/react/utils/utils.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2015-12-04 13:21:40 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2015-12-04 19:19:21 +0500
commit62ee998714bbb2bcd5759ff71ed4818c62b43806 (patch)
treee0fdd4be98c5274ce47ea8ae8f9886b5150f8d30 /web/react/utils/utils.jsx
parent622fbc67402fe36bc01163a5a80643a15758e094 (diff)
downloadchat-62ee998714bbb2bcd5759ff71ed4818c62b43806.tar.gz
chat-62ee998714bbb2bcd5759ff71ed4818c62b43806.tar.bz2
chat-62ee998714bbb2bcd5759ff71ed4818c62b43806.zip
Multiple UI Improvements
Diffstat (limited to 'web/react/utils/utils.jsx')
-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) {