2020-06-09 10:28:23 +02:00
|
|
|
$emojis-requiring-inversion: 'back' 'copyright' 'curly_loop' 'currency_exchange' 'end' 'heavy_check_mark' 'heavy_division_sign' 'heavy_dollar_sign' 'heavy_minus_sign' 'heavy_multiplication_x' 'heavy_plus_sign' 'on' 'registered' 'soon' 'spider' 'telephone_receiver' 'tm' 'top' 'wavy_dash' !default;
|
2018-07-04 17:35:02 +02:00
|
|
|
|
2020-06-09 10:28:23 +02:00
|
|
|
%emoji-color-inversion {
|
|
|
|
filter: invert(1);
|
2018-07-04 17:35:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
2020-06-09 10:28:23 +02:00
|
|
|
@each $emoji in $emojis-requiring-inversion {
|
2018-07-04 17:35:02 +02:00
|
|
|
&[title=':#{$emoji}:'] {
|
2020-06-09 10:28:23 +02:00
|
|
|
@extend %emoji-color-inversion;
|
2018-07-04 17:35:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|