Skip to content

Commit e9e8605

Browse files
committed
MOBILE-3401 style: Some fix on darkmode
1 parent 5e9e9e7 commit e9e8605

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/addon/mod/quiz/components/index/index.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ ion-app.app-root addon-mod-quiz-index {
4646
background-color: $blue-dark;
4747
color: $blue-light;
4848
}
49+
50+
.item.addon-mod_quiz-highlighted.activated,
51+
.item.addon-mod_quiz-highlighted.activated p {
52+
background-color: $blue;
53+
color: $blue-light;
54+
}
4955
}
5056
}
5157
}

src/app/app.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,18 @@ ion-app.app-root {
441441
}
442442
}
443443
}
444+
@include darkmode() {
445+
@each $color-name, $color-base, $color-contrast in get-colors($colors-dark) {
446+
&.select-md-#{$color-name},
447+
&.select-ios-#{$color-name} {
448+
color: $color-base;
449+
450+
.select-icon .select-icon-inner {
451+
color: $color-base;
452+
}
453+
}
454+
}
455+
}
444456
}
445457

446458
.item-label-stacked ion-select[multiple="true"] {

0 commit comments

Comments
 (0)