mediawiki.UI: Tweak destructive reds for background-independent contrast
authorAmir Sarabadani <Ladsgroup@gmail.com>
Tue, 29 Nov 2016 13:53:22 +0000 (17:23 +0330)
committerVolkerE <volker.e@wikimedia.org>
Tue, 29 Nov 2016 20:25:04 +0000 (20:25 +0000)
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

index 676ecca..9688f1f 100644 (file)
@@ -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