From e9e86050030f859f8f65ce57d2f1316e1fb0a04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 23 Jun 2020 11:39:15 +0200 Subject: [PATCH] MOBILE-3401 style: Some fix on darkmode --- src/addon/mod/quiz/components/index/index.scss | 6 ++++++ src/app/app.scss | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/src/addon/mod/quiz/components/index/index.scss b/src/addon/mod/quiz/components/index/index.scss index e359e8a0b..f6f7cb907 100644 --- a/src/addon/mod/quiz/components/index/index.scss +++ b/src/addon/mod/quiz/components/index/index.scss @@ -46,6 +46,12 @@ ion-app.app-root addon-mod-quiz-index { background-color: $blue-dark; color: $blue-light; } + + .item.addon-mod_quiz-highlighted.activated, + .item.addon-mod_quiz-highlighted.activated p { + background-color: $blue; + color: $blue-light; + } } } } diff --git a/src/app/app.scss b/src/app/app.scss index ff148ca9c..e23c90d0c 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -441,6 +441,18 @@ ion-app.app-root { } } } + @include darkmode() { + @each $color-name, $color-base, $color-contrast in get-colors($colors-dark) { + &.select-md-#{$color-name}, + &.select-ios-#{$color-name} { + color: $color-base; + + .select-icon .select-icon-inner { + color: $color-base; + } + } + } + } } .item-label-stacked ion-select[multiple="true"] {