Increase contrast of Admin badges (#5740)

To comply WCAG 2.0 guidelines on contrast ratio.
master
Lynx Kotoura 7 years ago committed by Eugen Rochko
parent e1ebf36352
commit 4a2fc2d444
  1. 6
      app/javascript/styles/mastodon/accounts.scss

@ -542,8 +542,8 @@
} }
&.admin { &.admin {
color: $error-red; color: lighten($error-red, 12%);
background-color: rgba($error-red, 0.1); background-color: rgba(lighten($error-red, 12%), 0.1);
border-color: rgba($error-red, 0.5); border-color: rgba(lighten($error-red, 12%), 0.5);
} }
} }

Loading…
Cancel
Save