Jforrester has uploaded a new change for review.
https://gerrit.wikimedia.org/r/277842
Change subject: Revert "MediaWiki theme: Make colors' contrast compliant to
WCAG 2.0 level AA"
......................................................................
Revert "MediaWiki theme: Make colors' contrast compliant to WCAG 2.0 level AA"
This reverts commit 10dd07df1b9a58cf260b91862c262c3e1e70ec46.
Change-Id: I62845e8cbcb1372801809ffecd60d6f9c9e7aedf
---
M src/themes/mediawiki/common.less
M src/themes/mediawiki/icons-editing-core.json
M src/themes/mediawiki/icons-layout.json
M src/themes/mediawiki/icons-moderation.json
M src/themes/mediawiki/icons-user.json
M src/themes/mediawiki/icons.json
M src/themes/mediawiki/windows.less
7 files changed, 23 insertions(+), 23 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/42/277842/1
diff --git a/src/themes/mediawiki/common.less b/src/themes/mediawiki/common.less
index e293bfb..246e35b 100644
--- a/src/themes/mediawiki/common.less
+++ b/src/themes/mediawiki/common.less
@@ -13,15 +13,15 @@
@color-emphasized: #000;
// Primary 'Progressive' and 'Destructive' Colors
-@color-progressive: #165c91;
-@color-progressive-hover: #18649e;
-@color-progressive-active: #134e7b;
-@color-progressive-fade: fade( @color-progressive, 10% );
+@color-progressive: #347bff;
+@color-progressive-hover: #2962cc;
+@color-progressive-active: #1f4999;
+@color-progressive-fade: fade( @color-progressive, 10% ); // outputs: `rgba(
52, 123, 255, 0.1 )`
-@color-destructive: #ab1f1d;
-@color-destructive-hover: #b8211f;
-@color-destructive-active: #951b19;
-@color-destructive-fade: fade( @color-destructive, 10% );
+@color-destructive: #d11d13;
+@color-destructive-hover: #8c130d;
+@color-destructive-active: #73100a;
+@color-destructive-fade: fade( @color-destructive, 10% ); // outputs: `rgba(
209, 29, 19, 0.1 )`;
// Disabled Widgets
@background-color-disabled: #f3f3f3;
diff --git a/src/themes/mediawiki/icons-editing-core.json
b/src/themes/mediawiki/icons-editing-core.json
index 16aaa86..d70f60e 100644
--- a/src/themes/mediawiki/icons-editing-core.json
+++ b/src/themes/mediawiki/icons-editing-core.json
@@ -8,13 +8,13 @@
"global": true
},
"progressive": {
- "color": "#165c91"
+ "color": "#347bff"
},
"constructive": {
- "color": "#165c91"
+ "color": "#347bff"
},
"destructive": {
- "color": "#ab1f1d"
+ "color": "#d11d13"
},
"warning": {
"color": "#ff5d00"
diff --git a/src/themes/mediawiki/icons-layout.json
b/src/themes/mediawiki/icons-layout.json
index 8cc3ae7..efad42e 100644
--- a/src/themes/mediawiki/icons-layout.json
+++ b/src/themes/mediawiki/icons-layout.json
@@ -8,13 +8,13 @@
"global": true
},
"progressive": {
- "color": "#165c91"
+ "color": "#347bff"
},
"constructive": {
- "color": "#165c91"
+ "color": "#347bff"
},
"destructive": {
- "color": "#ab1f1d"
+ "color": "#d11d13"
},
"warning": {
"color": "#ff5d00"
diff --git a/src/themes/mediawiki/icons-moderation.json
b/src/themes/mediawiki/icons-moderation.json
index 33198a2..65c7c5b 100644
--- a/src/themes/mediawiki/icons-moderation.json
+++ b/src/themes/mediawiki/icons-moderation.json
@@ -8,13 +8,13 @@
"global": true
},
"progressive": {
- "color": "#165c91"
+ "color": "#347bff"
},
"constructive": {
- "color": "#165c91"
+ "color": "#347bff"
},
"destructive": {
- "color": "#ab1f1d"
+ "color": "#d11d13"
},
"warning": {
"color": "#ff5d00"
diff --git a/src/themes/mediawiki/icons-user.json
b/src/themes/mediawiki/icons-user.json
index dc18a94..1b9359a 100644
--- a/src/themes/mediawiki/icons-user.json
+++ b/src/themes/mediawiki/icons-user.json
@@ -4,7 +4,7 @@
"intro": "@import '../../../../src/styles/common';",
"variants": {
"invert": {
- "color": "#ffffff",
+ "color": "#FFFFFF",
"global": true
}
},
diff --git a/src/themes/mediawiki/icons.json b/src/themes/mediawiki/icons.json
index 42e9fa2..047bc6b 100644
--- a/src/themes/mediawiki/icons.json
+++ b/src/themes/mediawiki/icons.json
@@ -8,16 +8,16 @@
"global": true
},
"progressive": {
- "color": "#165c91"
+ "color": "#347bff"
},
"constructive": {
- "color": "#165c91"
+ "color": "#347bff"
},
"constructive-deprecated": {
"color": "#00af89"
},
"destructive": {
- "color": "#ab1f1d"
+ "color": "#d11d13"
},
"warning": {
"color": "#ff5d00"
diff --git a/src/themes/mediawiki/windows.less
b/src/themes/mediawiki/windows.less
index a794965..7396bc8 100644
--- a/src/themes/mediawiki/windows.less
+++ b/src/themes/mediawiki/windows.less
@@ -201,11 +201,11 @@
&-constructive {
&:hover {
- background-color: rgba(
8, 126, 204, 0.05 );
+ background-color: rgba(
118, 171, 54, 0.05 );
}
&:active {
- background-color: rgba(
8, 126, 204, 0.1 );
+ background-color: rgba(
118, 171, 54, 0.1 );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/277842
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I62845e8cbcb1372801809ffecd60d6f9c9e7aedf
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits