From a294b8368285ea6ae8cf012b0e7b21826a7b835f Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Tue, 29 Nov 2016 17:23:22 +0330 Subject: [PATCH] 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 --- resources/src/mediawiki.less/mediawiki.ui/variables.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.20.1