[wp-meta] [Making WordPress.org] #3054: Profiles: Use a consistent contrast for badges background color

Making WordPress.org noreply at wordpress.org
Fri Aug 18 19:23:35 UTC 2017


#3054: Profiles: Use a consistent contrast for badges background color
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  Profiles        |   Keywords:  has-screenshots
----------------------------+-----------------------------
 Most of the badges use a 3.5:1 — 3.7:1 contrast for background color.

 Some of the recently added badges (WP-CLI Team, Hosting Team, Community
 Team) use a much lower 1.6:1 contrast, which looks especially weird on the
 Community Team badge added in #3036.

 The styles in question are:
 {{{
 .badge-community {
         background: rgba(17, 121, 157, 0.75);
         box-shadow: 0 0 0 4px rgb(17, 121, 157);
 }
 .badge-wp-cli {
         background: rgba(66, 66, 66, 0.75);
         box-shadow: 0 0 0 4px rgb(66, 66, 66);
 }
 .badge-hosting {
         background: rgba(83, 88, 166, 0.75);
         box-shadow: 0 0 0 4px rgb(83, 88, 166);
 }
 }}}

 Replacing `0.75` with `0.25` seems much more in line with the other
 badges, see the screenshot.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3054>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list