Skip to content

Commit d863109

Browse files
authored
Fix Loading Screen Color (#6410)
Make default fully opaque so it never partially overlays the rest of the app, which is what made it look bad on other themes, then allow for overrides of non-loading dimmer and just override back to light-blue on micro:bit.
1 parent 785f75f commit d863109

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

theme/color-themes/overrides/microbit-light-overrides.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,9 @@ path.blocklyFlyoutBackground {
4949

5050
#serialPreview .label {
5151
border-color: var(--pxt-primary-background);
52+
}
53+
54+
.ui.dimmer {
55+
/* Matches color specified in dimmer.variables, but with partial transparency */
56+
background-color: rgba(52, 84, 209, 0.4) !important;
5257
}

theme/site/modules/dimmer.variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
User Variable Overrides
33
*******************************/
44

5-
@backgroundColor: fade(@blue, 40%);
5+
@backgroundColor: #B4BFED;

0 commit comments

Comments
 (0)