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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user