From 0eea5c6b80c1fcd9f99636599e484bac8845e075 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 25 May 2020 17:11:30 +0300 Subject: [PATCH] fix icon changing color --- src/components/tab_switcher/tab_switcher.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/tab_switcher/tab_switcher.scss b/src/components/tab_switcher/tab_switcher.scss index 129a68b7..479fb686 100644 --- a/src/components/tab_switcher/tab_switcher.scss +++ b/src/components/tab_switcher/tab_switcher.scss @@ -147,8 +147,10 @@ white-space: nowrap; padding: 6px 1em; - color: $fallback--text; - color: var(--tabText, $fallback--text); + &, &:active .tab-icon { + color: $fallback--text; + color: var(--tabText, $fallback--text); + } background-color: $fallback--fg; background-color: var(--tab, $fallback--fg);