Add skin-invert-image class

Bug: T365102
Change-Id: I5961d945b1aaeae1bff1d86c50118fc02dfb77b2
This commit is contained in:
bwang 2024-06-04 12:47:15 -05:00
parent 7775e08ccf
commit b24cb0518c

View file

@ -44,6 +44,8 @@ html.skin-theme-clientpref-night {
--color-link-red: #b97876;
}
// T365102 invert class specifically for image related elements
html.skin-theme-clientpref-night .skin-invert-image img,
html.skin-theme-clientpref-night .skin-invert {
color-scheme: light;
filter: invert( 1 ) hue-rotate( 180deg );
@ -75,6 +77,8 @@ html.skin-theme-clientpref-night @{OOUIOverrideSelectors} {
color-scheme: light;
}
// T365102 invert class specifically for image related elements
html.skin-theme-clientpref-os .skin-invert-image img,
html.skin-theme-clientpref-os .skin-invert {
color-scheme: light;
filter: invert( 1 ) hue-rotate( 180deg );