This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Add white outline to black emojis (
fix
#5083
) (
#7936
)
master
Maciek Baron
6 years ago
committed by
Eugen Rochko
parent
f3af1a96a8
commit
0bfa0f2374
2 changed files
with
15 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/javascript/styles/application.scss
+14
-0
app/javascript/styles/mastodon/accessibility.scss
+ 1
- 0
app/javascript/styles/application.scss
View File
@ -22,3 +22,4 @@
@import
'
mastodon/tables
'
;
@import
'
mastodon/tables
'
;
@import
'
mastodon/admin
'
;
@import
'
mastodon/admin
'
;
@import
'
mastodon/rtl
'
;
@import
'
mastodon/rtl
'
;
@import
'
mastodon/accessibility
'
;
+ 14
- 0
app/javascript/styles/mastodon/accessibility.scss
View File
@ -0,0 +1,14 @@
$black-emojis
:
'
8ball
'
'
ant
'
'
back
'
'
black_circle
'
'
black_large_square
'
'
black_medium_small_square
'
'
black_medium_square
'
'
black_nib
'
'
black_small_square
'
'
bomb
'
'
bust_in_silhouette
'
'
camera
'
'
camera_with_flash
'
'
clubs
'
'
copyright
'
'
curly_loop
'
'
currency_exchange
'
'
end
'
'
heavy_check_mark
'
'
heavy_division_sign
'
'
heavy_dollar_sign
'
'
heavy_minus_sign
'
'
heavy_multiplication_x
'
'
heavy_plus_sign
'
'
lower_left_fountain_pen
'
'
on
'
'
registered
'
'
soon
'
'
spades
'
'
spider
'
'
tm
'
'
top
'
'
waving_black_flag
'
'
wavy_dash
'
'
video_game
'
;
%
white-emoji-outline
{
filter
:
drop-shadow
(
1px
1px
0
$
white
)
drop-shadow
(
-1px
1px
0
$
white
)
drop-shadow
(
1px
-1px
0
$
white
)
drop-shadow
(
-1px
-1px
0
$
white
)
;
transform
:
scale
(
.
71
)
;
}
.
emojione
{
@each
$
emoji
in
$
black-emojis
{
&
[
title
=
'
:
#{
$emoji
}
:
'
]
{
@extend
%
white-emoji-outline
;
}
}
}
Write
Preview
Loading…
Cancel
Save