From 0f40a77b086ac1cac3fe1aae7b10ab22549473d4 Mon Sep 17 00:00:00 2001 From: Morgan Connolly Date: Tue, 20 Oct 2020 15:13:37 -0700 Subject: [PATCH] update class .header-dropdown__icon to use css variable --- sass/layout/_headers.scss | 5 +++++ utils/utils.jsx | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sass/layout/_headers.scss b/sass/layout/_headers.scss index 3fe75c23a792..798fb6f9b911 100644 --- a/sass/layout/_headers.scss +++ b/sass/layout/_headers.scss @@ -739,6 +739,11 @@ } } } + .channel-header__info { + .header-dropdown__icon { + color: rgba(var(--center-channel-color-rgb),0.8) + } + } } diff --git a/utils/utils.jsx b/utils/utils.jsx index a85af3e7a549..856db1c6dfd2 100644 --- a/utils/utils.jsx +++ b/utils/utils.jsx @@ -693,7 +693,6 @@ export function applyTheme(theme) { changeCss('.app__body .shortcut-key, .app__body .post__body hr, .app__body .loading-screen .loading__content .round, .app__body .tutorial__circles .circle', 'background:' + theme.centerChannelColor); changeCss('.app__body .channel-header .heading', 'color:' + theme.centerChannelColor); changeCss('.app__body .markdown__table tbody tr:nth-child(2n)', 'background:' + changeOpacity(theme.centerChannelColor, 0.07)); - changeCss('.app__body .channel-header__info .header-dropdown__icon', 'color:' + changeOpacity(theme.centerChannelColor, 0.8)); changeCss('.app__body .post-create__container .post-create-body .send-button.disabled i', 'color:' + changeOpacity(theme.centerChannelColor, 0.4)); changeCss('.app__body .channel-header .pinned-posts-button svg', 'fill:' + changeOpacity(theme.centerChannelColor, 0.6)); changeCss('.app__body .channel-header .channel-header_plugin-dropdown svg', 'fill:' + changeOpacity(theme.centerChannelColor, 0.6));