Fix transparent verification checkmark in dark mode (#30235)

* Fix transparent verification checkmark in dark mode

Fixes Issue https://github.com/element-hq/element-web/issues/28285

* Add white background to E2E Warning Icon

Also adapted the testcases to the new background.
This commit is contained in:
Banbuii
2025-07-07 13:35:03 +02:00
committed by GitHub
parent 0f7e394487
commit aa2dc8e574
4 changed files with 33 additions and 4 deletions

View File

@@ -59,3 +59,10 @@ Please see LICENSE files in the repository root for full details.
mask-image: url("$(res)/img/e2e/verified.svg");
background-color: $e2e-verified-color;
}
// When using the "normal" icon as a background for verified or warning icon,
// it should be slightly smaller than the foreground icon
.mx_E2EIcon_verified, .mx_E2EIcon_warning .mx_E2EIcon_normal::after {
mask-size: 90%;
background-color: white;
}