[fix] [LESS] Move print style variables to query

Move print LESS variables within the print media query. When these
styles were collapsed into an index.less import via ac069fb, they lost
their outer print media query which caused them to override screen
styles.

Bug: T247537
Change-Id: I45502facd27f4a7a6c33436da2f1870bbd91a4ff
This commit is contained in:
Stephen Niedzielski 2020-03-12 10:49:44 -06:00
parent 864cc97092
commit 46276cd9dd

View file

@ -1,3 +1,4 @@
@media print {
@wmui-color-base0: #000;
@color-base: @wmui-color-base0;
@ -5,8 +6,6 @@
@border-color-base: @wmui-color-base0;
@border-color-footer: #eee;
@media print {
/* These styles retain the existing typography in index.less
In future (when deploying these styles) we may want to refactor skins.vector.styles
to apply certain styles in print as well as screen mode. */