jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/372907 )

Change subject: resources: Consolidate on the WikimediaUI “erroneous” color 
value
......................................................................


resources: Consolidate on the WikimediaUI “erroneous” color value

“Erroneous” color was updated to `#d33` in WikimediaUI color palette to
ensure WCAG 2.0 level AA conformance with both white and black.

Replacing all occurences of `#f00` and `#c00` to reflect color palette
change with the following caveats and exceptions:

- MW config styles are not amended, as it is out of scope and all
  boundaries and applications of WikimediaUI are yet to be defined;

- oldshared.css is excluded, as WikimediaUI isn't touching old skins; &

- errorbox with its current background is getting a lowered textual
  contrast but we still provide enough contrast for text size and bolded
  font, and this needs to be seen as intermediate standardization step.

Bug: T152025
Change-Id: Iba3362abaa1702599f0d68860f579aea2114801c
---
M resources/src/jquery/jquery.badge.css
M resources/src/mediawiki.legacy/shared.css
M resources/src/mediawiki.less/mediawiki.ui/variables.less
M resources/src/mediawiki.special/mediawiki.special.apisandbox.css
M resources/src/mediawiki/htmlform/styles.css
M resources/src/mediawiki/mediawiki.apihelp.css
6 files changed, 9 insertions(+), 9 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jforrester: Looks good to me, approved



diff --git a/resources/src/jquery/jquery.badge.css 
b/resources/src/jquery/jquery.badge.css
index 8e0e512..2dbd4a5 100644
--- a/resources/src/jquery/jquery.badge.css
+++ b/resources/src/jquery/jquery.badge.css
@@ -32,5 +32,5 @@
 }
 
 .mw-badge-important {
-       background-color: #c00;
+       background-color: #d33;
 }
diff --git a/resources/src/mediawiki.legacy/shared.css 
b/resources/src/mediawiki.legacy/shared.css
index 1efcdd0..fbc9816 100644
--- a/resources/src/mediawiki.legacy/shared.css
+++ b/resources/src/mediawiki.legacy/shared.css
@@ -153,7 +153,7 @@
 
 .unpatrolled {
        font-weight: bold;
-       color: #f00;
+       color: #d33;
 }
 
 div.patrollink {
@@ -389,7 +389,7 @@
 }
 
 .error {
-       color: #c00;
+       color: #d33;
 }
 
 .warning {
@@ -423,7 +423,7 @@
 }
 
 .errorbox {
-       color: #c00;
+       color: #d33;
        border-color: #fac5c5;
        background-color: #fae3e3;
 }
@@ -460,7 +460,7 @@
 
 /* Note on preview page */
 .previewnote {
-       color: #c00;
+       color: #d33;
        margin-bottom: 1em;
 }
 
diff --git a/resources/src/mediawiki.less/mediawiki.ui/variables.less 
b/resources/src/mediawiki.less/mediawiki.ui/variables.less
index 0ad791b..0c897dc 100644
--- a/resources/src/mediawiki.less/mediawiki.ui/variables.less
+++ b/resources/src/mediawiki.less/mediawiki.ui/variables.less
@@ -41,7 +41,7 @@
 @colorButtonTextHighlight: @colorGray4;
 @colorButtonTextActive: @colorGray1;
 @colorDisabledText: @colorGray12;
-@colorErrorText: #c00;
+@colorErrorText: #d33;
 @colorWarningText: #705000;
 
 // UI colors
diff --git a/resources/src/mediawiki.special/mediawiki.special.apisandbox.css 
b/resources/src/mediawiki.special/mediawiki.special.apisandbox.css
index 99d0222..750a567 100644
--- a/resources/src/mediawiki.special/mediawiki.special.apisandbox.css
+++ b/resources/src/mediawiki.special/mediawiki.special.apisandbox.css
@@ -101,7 +101,7 @@
 
 .apihelp-deprecated {
        font-weight: bold;
-       color: #f00;
+       color: #d33;
 }
 
 .apihelp-deprecated-value .oo-ui-labelElement-label {
diff --git a/resources/src/mediawiki/htmlform/styles.css 
b/resources/src/mediawiki/htmlform/styles.css
index a36b379..0f331ee 100644
--- a/resources/src/mediawiki/htmlform/styles.css
+++ b/resources/src/mediawiki/htmlform/styles.css
@@ -9,7 +9,7 @@
 }
 
 .mw-htmlform-invalid-input td.mw-input input {
-       border-color: #f00;
+       border-color: #d33;
 }
 
 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
diff --git a/resources/src/mediawiki/mediawiki.apihelp.css 
b/resources/src/mediawiki/mediawiki.apihelp.css
index bd4741d..7ef32ea 100644
--- a/resources/src/mediawiki/mediawiki.apihelp.css
+++ b/resources/src/mediawiki/mediawiki.apihelp.css
@@ -37,7 +37,7 @@
 .apihelp-flag-deprecated,
 .apihelp-flag-internal strong {
        font-weight: bold;
-       color: #f00;
+       color: #d33;
 }
 
 .apihelp-deprecated-value {

-- 
To view, visit https://gerrit.wikimedia.org/r/372907
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iba3362abaa1702599f0d68860f579aea2114801c
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: VolkerE <volke...@wikimedia.org>
Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com>
Gerrit-Reviewer: Jack Phoenix <j...@countervandalism.net>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: Krinkle <krinklem...@gmail.com>
Gerrit-Reviewer: Prtksxna <psax...@wikimedia.org>
Gerrit-Reviewer: VolkerE <volke...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to