about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLynx Kotoura <admin@sanin.link>2017-11-18 03:59:53 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-11-17 19:59:53 +0100
commit4a2fc2d444a80050ad9ba5e83aa5e69d3148ab95 (patch)
treeb8769f30baa891790b4f0a883c493a08d597bbef
parente1ebf363528fbbd3753436530baa6cc08ef5dd88 (diff)
Increase contrast of Admin badges (#5740)
To comply WCAG 2.0 guidelines on contrast ratio.
-rw-r--r--app/javascript/styles/mastodon/accounts.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/styles/mastodon/accounts.scss b/app/javascript/styles/mastodon/accounts.scss
index ca55de28d..23e20a366 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);
   }
 }