about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon-light
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-06-09 10:28:23 +0200
committerGitHub <noreply@github.com>2020-06-09 10:28:23 +0200
commitdb319c0fdc8a81718a64e0ff905d5ba628551fd2 (patch)
tree8b38e9241dec332b28ac87c4ac34d9fe5a8ae9ae /app/javascript/styles/mastodon-light
parentac3c83ef6fe207a22d67ff8912e74c21c6b61daf (diff)
Improve rendering of emoji which do not contrast with background (#13772)
* Refactor list of emoji requiring added outlines so that it can be theme-specific

* Split inaccessible emoji to emoji requiring an outline and ones that can be inverted

* Drop the “silouhettes” from black emoji as they seem to have changed color

* Add inaccessible emojis list for the light theme

* Use bordered emoji variant instead of unreliable CSS
Diffstat (limited to 'app/javascript/styles/mastodon-light')
-rw-r--r--app/javascript/styles/mastodon-light/variables.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon-light/variables.scss b/app/javascript/styles/mastodon-light/variables.scss
index c68944528..bc039ff03 100644
--- a/app/javascript/styles/mastodon-light/variables.scss
+++ b/app/javascript/styles/mastodon-light/variables.scss
@@ -39,3 +39,5 @@ $account-background-color: $white !default;
 @function lighten($color, $amount) {
   @return hsl(hue($color), saturation($color), lightness($color) - $amount);
 }
+
+$emojis-requiring-inversion: 'chains';