MOBILE-4437 icon: Fix icon styles without purpose on 4.0 version

main
Pau Ferrer Ocaña 2024-04-11 11:41:53 +02:00
parent 7f0ceb5c7a
commit 93f513c531
1 changed files with 5 additions and 4 deletions

View File

@ -37,11 +37,12 @@
&.version_40 {
background-color: var(--gray-100);
--color: white;
@each $type, $value in $activity-icon-background-colors {
&.#{$type}:not(.branded) {
background-color: var(--activity-40-#{$type});
::ng-deep svg, img {
filter: brightness(0) invert(1);
}
}
}
}
@ -56,10 +57,10 @@
--padding-bottom: var(--module-legacy-icon-padding, 8px);
}
&:not(.branded) {
&.version_current:not(.branded) {
::ng-deep svg,
::ng-deep svg * {
fill: var(--color);
fill: var(--color) !important;
}
}