Skip to content

Commit 119c609

Browse files
authored
Merge pull request moodlehq#4474 from crazyserver/MOBILE-4653
MOBILE-4653 alerts: Fix header wifi icon color on dark mode
2 parents 3e5490e + 1e7a371 commit 119c609

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/theme/components/ion-alert.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,17 @@ div.core-iframe-network-error {
110110
}
111111
}
112112

113+
:root.dark {
114+
ion-alert.core-alert-network-error .alert-head,
115+
div.core-iframe-network-error {
116+
filter: invert(1);
117+
118+
&::after {
119+
filter: invert(1); // Invert the color because it's inverted by the filter above.
120+
}
121+
}
122+
}
123+
113124
[dir=rtl] ion-alert.core-alert-network-error .alert-head::after,
114125
[dir=rtl] div.core-iframe-network-error::after {
115126
right: unset;

0 commit comments

Comments
 (0)