Browse Source

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
commit
4a2fc2d444
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      app/javascript/styles/mastodon/accounts.scss

+ 3
- 3
app/javascript/styles/mastodon/accounts.scss 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);
}
}

Loading…
Cancel
Save