Dark mode styles should not apply to printed content

Bug: T371331
Change-Id: Ia5f1293dba2e7037de6058475b603d0928dbb3b0
This commit is contained in:
Jon Robson 2024-07-29 14:41:22 -07:00 committed by Jdlrobson
parent 6f71bf3a4f
commit ccbe3feadb

View file

@ -37,11 +37,13 @@
background-color: #ececec;
.skin-theme-clientpref-night & {
background-color: @background-color-interactive-subtle;
@media screen {
background-color: @background-color-interactive-subtle;
}
}
.skin-theme-clientpref-os & {
@media ( prefers-color-scheme: dark ) {
@media screen and ( prefers-color-scheme: dark ) {
background-color: @background-color-interactive-subtle;
}
}