[wp-meta] [Making WordPress.org] #3054: Profiles: Use a consistent contrast for badges background color
Making WordPress.org
noreply at wordpress.org
Tue Aug 22 23:32:42 UTC 2017
#3054: Profiles: Use a consistent contrast for badges background color
-----------------------------------------+---------------------------
Reporter: SergeyBiryukov | Owner: coreymckrill
Type: defect | Status: accepted
Priority: normal | Milestone:
Component: Profiles | Resolution:
Keywords: has-screenshots ui-feedback |
-----------------------------------------+---------------------------
Comment (by SergeyBiryukov):
`0.25` is the equivalent of `tint( $color, 75% )` used in the codepen, so
appears to be correct:
{{{
@mixin badge-color-banded( $color ) {
background: tint( $color, 75% );
box-shadow: 0 0 0 4px $color;
&:before { color: $color; }
}
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3054#comment:6>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list