2020-06-09 11:28:23 +03: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 18:35:02 +03:00
|
|
|
|
2020-06-09 11:28:23 +03:00
|
|
|
%emoji-color-inversion {
|
|
|
|
filter: invert(1);
|
2018-07-04 18:35:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
2020-06-09 11:28:23 +03:00
|
|
|
@each $emoji in $emojis-requiring-inversion {
|
2018-07-04 18:35:02 +03:00
|
|
|
&[title=':#{$emoji}:'] {
|
2020-06-09 11:28:23 +03:00
|
|
|
@extend %emoji-color-inversion;
|
2018-07-04 18:35:02 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|