Skip to content

Commit

Permalink
fix: invert color of the sub icon in the event bar as well
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneer committed Dec 2, 2024
1 parent 009d895 commit 9ce844e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions assets/chat/css/chat/event-bar/_event-bar-event.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,17 @@
height: 2em;
border: 0.25em solid transparent;
opacity: 0.75;
filter: invert(100%);

&.subscription {
@include a.icon-background('../img/sub-regular.svg');
}

&.giftsub {
filter: invert(100%);

@include a.icon-background('../img/sub-gift.png');
}

&.massgift {
filter: invert(100%);

@include a.icon-background('../img/sub-mass-gift.png');
}
}
Expand Down Expand Up @@ -75,10 +72,9 @@
@each $amount, $color in donation.$amount-color-map {
&.amount-#{$amount} {
border-color: $color;
filter: invert(100%);

.event-icon {
filter: invert(100%);

@include a.icon-background('../img/donation-amount-#{$amount}.png');
}
}
Expand Down

0 comments on commit 9ce844e

Please sign in to comment.