From db319c0fdc8a81718a64e0ff905d5ba628551fd2 Mon Sep 17 00:00:00 2001 From: ThibG Date: Tue, 9 Jun 2020 10:28:23 +0200 Subject: Improve rendering of emoji which do not contrast with background (#13772) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- app/javascript/styles/mastodon-light/variables.scss | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/javascript/styles/mastodon-light') 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'; -- cgit