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