summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx10
-rw-r--r--webapp/utils/utils.jsx1
2 files changed, 6 insertions, 5 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 55090fc82..4e293c50e 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -467,16 +467,16 @@ export default {
uiName: 'Mention Highlight BG'
},
{
- group: 'centerChannelElements',
- id: 'mentionHighlightLink',
- uiName: 'Mention Highlight Link'
- },
- {
group: 'linkAndButtonElements',
id: 'linkColor',
uiName: 'Link Color'
},
{
+ group: 'centerChannelElements',
+ id: 'mentionHighlightLink',
+ uiName: 'Mention Highlight Link'
+ },
+ {
group: 'linkAndButtonElements',
id: 'buttonBg',
uiName: 'Button BG'
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx
index 84c2ed4ce..9e01594cf 100644
--- a/webapp/utils/utils.jsx
+++ b/webapp/utils/utils.jsx
@@ -718,6 +718,7 @@ export function applyTheme(theme) {
if (theme.linkColor) {
changeCss('.app__body a, .app__body a:focus, .app__body a:hover, .app__body .btn, .app__body .btn:focus, .app__body .btn:hover', 'color:' + theme.linkColor, 1);
+ changeCss('.app__body .attachment .attachment__container', 'border-left-color:' + changeOpacity(theme.linkColor, 0.5), 1);
changeCss('.app__body .post .comment-icon__container, .app__body .post .post__reply', 'fill:' + theme.linkColor, 1);
}