From 91952ecbcc2335d62a32413436e0d8f8927444f7 Mon Sep 17 00:00:00 2001 From: kaldari Date: Mon, 2 Mar 2015 15:20:22 -0800 Subject: [PATCH] Text color for quiet buttons should not be lightened 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/src/mediawiki.less/mediawiki.ui/mixins.less b/resources/src/mediawiki.less/mediawiki.ui/mixins.less index a51fe9c9f0..92d0a76977 100644 --- a/resources/src/mediawiki.less/mediawiki.ui/mixins.less +++ b/resources/src/mediawiki.less/mediawiki.ui/mixins.less @@ -108,9 +108,7 @@ &:hover, &:focus { - // lessphp doesn't implement tint, see above - // color: tint(@textColor, 20%); - color: mix(#fff, @textColor, 20%); + color: @textColor; } &:active, -- 2.20.1