From 8f61265cec46c336cf0f75d531131684771ad38a Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 11 Sep 2024 04:25:56 -0400 Subject: [PATCH] =?UTF-8?q?feat(core):=20=E2=9C=A8=20add=20support=20for?= =?UTF-8?q?=20skin-invert=20and=20skin-invert-image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sync with current dark mode standards from Vector 2022 --- resources/skins.citizen.styles/common/features.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/skins.citizen.styles/common/features.less b/resources/skins.citizen.styles/common/features.less index bfd48859..7d1176a6 100644 --- a/resources/skins.citizen.styles/common/features.less +++ b/resources/skins.citizen.styles/common/features.less @@ -69,6 +69,12 @@ --shadow-strength: 0.06; } +// T365102 invert class specifically for image related element +.skin-invert-image img, +.skin-invert { + filter: var( --filter-invert ); +} + .skin-theme-clientpref-night { :root& { .theme-dark();