1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-13 22:29:07 +09:00
YuruToot/app/javascript/flavours/glitch/styles/accessibility.scss
2024-01-14 00:04:09 +01:00

39 lines
950 B
SCSS

$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 {
color: #1976d2;
}
.status__visibility-icon.icon-unlock,
.privacy-dropdown__option .icon-unlock {
color: #388e3c;
}
.status__visibility-icon.icon-lock,
.privacy-dropdown__option .icon-lock {
color: #ffa000;
}
.status__visibility-icon.icon-envelope,
.privacy-dropdown__option .icon-envelope {
color: #d32f2f;
}
}