1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Increase contrast of Admin badges (#5740)

To comply WCAG 2.0 guidelines on contrast ratio.
This commit is contained in:
Lynx Kotoura 2017-11-18 03:59:53 +09:00 committed by Eugen Rochko
parent e1ebf36352
commit 4a2fc2d444

View file

@ -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);
}
}