From: Amir Sarabadani Date: Tue, 29 Nov 2016 13:53:22 +0000 (+0330) Subject: mediawiki.UI: Tweak destructive reds for background-independent contrast X-Git-Tag: 1.31.0-rc.0~4739^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=a294b8368285ea6ae8cf012b0e7b21826a7b835f;p=lhc%2Fweb%2Fwiklou.git mediawiki.UI: Tweak destructive reds for background-independent contrast Reds of color palette have been changed by WMF designers to provide more contrast on dark and light backgrounds (WCAG 2.0 level AA on black and white). Among other things this will help with error messages of coming patches. Following-up I73d336900. Change-Id: I62a1d1c6bbd52973883789e1fcb9927cccd3f6a6 --- diff --git a/resources/src/mediawiki.less/mediawiki.ui/variables.less b/resources/src/mediawiki.less/mediawiki.ui/variables.less index 676ecca8a8..9688f1f8fc 100644 --- a/resources/src/mediawiki.less/mediawiki.ui/variables.less +++ b/resources/src/mediawiki.less/mediawiki.ui/variables.less @@ -26,9 +26,9 @@ // Orange; for contextual use of returning to a past action @colorRegressive: #ff5d00; // Red; for contextual use of a negative action of high severity -@colorDestructive: #c33; -@colorDestructiveHighlight: #e53939; -@colorDestructiveActive: #873636; +@colorDestructive: #d33; +@colorDestructiveHighlight: #ff4242; +@colorDestructiveActive: #b32424; // Orange; for contextual use of a potentially negative action of medium severity @colorMediumSevere: #ff5d00; // Yellow; for contextual use of a potentially negative action of low severity