Text color for quiet buttons should not be lightened
authorkaldari <rkaldari@wikimedia.org>
Mon, 2 Mar 2015 23:20:22 +0000 (15:20 -0800)
committerkaldari <rkaldari@wikimedia.org>
Mon, 2 Mar 2015 23:20:22 +0000 (15:20 -0800)
This is part of the effort to synchronize button styles between
MediaWiki UI and OOjs UI. According to the designers, the text
colors for quiet buttons should be the raw non-quiet equivalent
button background colors (not lightened).

Bug: T88449
Change-Id: Ib6ff7167a62c03d0b0427a7161d396e11e173046

resources/src/mediawiki.less/mediawiki.ui/mixins.less

index a51fe9c..92d0a76 100644 (file)
 
        &:hover,
        &:focus {
-               // lessphp doesn't implement tint, see above
-               // color: tint(@textColor, 20%);
-               color: mix(#fff, @textColor, 20%);
+               color: @textColor;
        }
 
        &:active,