From add0b95386379579cea1b31cbe9570df87175dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 29 Mar 2022 16:55:51 +0200 Subject: [PATCH] MOBILE-3833 style: Fix icon on chip color on dark mode --- src/addons/notifications/pages/list/list.scss | 2 ++ src/theme/theme.base.scss | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/addons/notifications/pages/list/list.scss b/src/addons/notifications/pages/list/list.scss index 4ac957b62..da15978c7 100644 --- a/src/addons/notifications/pages/list/list.scss +++ b/src/addons/notifications/pages/list/list.scss @@ -40,6 +40,8 @@ ion-item { div.core-notification-icon, core-mod-icon.core-notification-icon { padding: 8px; + max-width: var(--core-avatar-size); + max-height: var(--core-avatar-size); } } diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index 681843dd4..a97d2eea2 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -1069,9 +1069,7 @@ ion-chip { border-color: var(--ion-color-base); color: var(--ion-color-base); } - } - &.ion-color { &.ion-color-light, &.ion-color-medium, &.ion-color-dark, @@ -1082,6 +1080,10 @@ ion-chip { } } } + + &:not(.ion-color) ion-icon { + color: var(--text-color); + } } ion-searchbar {