tootlab-mastodon/app/javascript/flavours/glitch/styles/accessibility.scss

39 lines
950 B
SCSS
Raw Normal View History

$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;
%emoji-color-inversion {
filter: invert(1);
}
.emojione {
@each $emoji in $emojis-requiring-inversion {
&[title=':#{$emoji}:'] {
@extend %emoji-color-inversion;
}
}
}
.hicolor-privacy-icons {
.status__visibility-icon.icon-globe,
.privacy-dropdown__option .icon-globe {
2021-03-06 07:12:35 -05:00
color: #1976d2;
}
.status__visibility-icon.icon-unlock,
.privacy-dropdown__option .icon-unlock {
2021-03-06 07:12:35 -05:00
color: #388e3c;
}
.status__visibility-icon.icon-lock,
.privacy-dropdown__option .icon-lock {
2021-03-06 07:12:35 -05:00
color: #ffa000;
}
.status__visibility-icon.icon-envelope,
.privacy-dropdown__option .icon-envelope {
2021-03-06 07:12:35 -05:00
color: #d32f2f;
}
}