From 754e84ce3560fab3d94d9ab8de887d595eea67aa Mon Sep 17 00:00:00 2001 From: Simon G Date: Mon, 29 Mar 2021 09:46:31 +0200 Subject: [PATCH] fix(theme): respect safe-area and collapse-condense header on dark mode --- src/theme/dark.theme.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/theme/dark.theme.css b/src/theme/dark.theme.css index c3151c7..d3cc14e 100644 --- a/src/theme/dark.theme.css +++ b/src/theme/dark.theme.css @@ -81,10 +81,7 @@ var(--ion-color-primary) 0% 50%, var(--ion-background-color, #ffffff) 50% 100% ); - --ion-color-base-rgb: linear-gradient( - var(--ion-color-primary-rgb) 0% 50%, - var(--ion-background-color-rgb, rgb(255, 255, 255)) 50% 100% - ); + --ion-color-base-rgb: var(--ion-color-primary-base-rgb); --ion-color-contrast: var(--ion-color-primary-contrast); --ion-color-contrast-rgb: var(--ion-color-primary-contrast-rgb); --ion-color-shade: var(--ion-color-primary-shade);