Add background color for images in dark mode

Adding a grey background color in dark mode so transparent images are readable

Bug: T375045

Change-Id: I168cd8b48359e59acb038a6909b77f6c38600c79
This commit is contained in:
lmora 2024-10-30 16:37:17 -05:00 committed by LorenMora
parent 8ae9a02b98
commit ab5c9fe83a

View file

@ -452,6 +452,14 @@
/* @noflip */
background-image: linear-gradient( to left, transparent, @background-color-base 50% );
}
@supports ( clip-path: polygon( 1px 1px ) ) {
.mwe-popups {
.mwe-popups-thumbnail {
background-color: #c8ccd1;
}
}
}
}
}
@ -470,5 +478,13 @@
/* @noflip */
background-image: linear-gradient( to left, transparent, @background-color-base 50% );
}
@supports ( clip-path: polygon( 1px 1px ) ) {
.mwe-popups {
.mwe-popups-thumbnail {
background-color: #c8ccd1;
}
}
}
}
}