From 4a2fc2d444a80050ad9ba5e83aa5e69d3148ab95 Mon Sep 17 00:00:00 2001 From: Lynx Kotoura Date: Sat, 18 Nov 2017 03:59:53 +0900 Subject: [PATCH] Increase contrast of Admin badges (#5740) To comply WCAG 2.0 guidelines on contrast ratio. --- app/javascript/styles/mastodon/accounts.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/styles/mastodon/accounts.scss b/app/javascript/styles/mastodon/accounts.scss index ca55de28de1..23e20a36687 100644 --- a/app/javascript/styles/mastodon/accounts.scss +++ b/app/javascript/styles/mastodon/accounts.scss @@ -542,8 +542,8 @@ } &.admin { - color: $error-red; - background-color: rgba($error-red, 0.1); - border-color: rgba($error-red, 0.5); + color: lighten($error-red, 12%); + background-color: rgba(lighten($error-red, 12%), 0.1); + border-color: rgba(lighten($error-red, 12%), 0.5); } }