logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 4a2fc2d444a80050ad9ba5e83aa5e69d3148ab95
parent: e1ebf363528fbbd3753436530baa6cc08ef5dd88
Author: Lynx Kotoura <admin@sanin.link>
Date:   Sat, 18 Nov 2017 03:59:53 +0900

Increase contrast of Admin badges (#5740)

To comply WCAG 2.0 guidelines on contrast ratio.

Diffstat:

Mapp/javascript/styles/mastodon/accounts.scss6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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); } }