Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/161991

Change subject: Hygiene: Use core mediawiki ui colors where possible
......................................................................

Hygiene: Use core mediawiki ui colors where possible

Change-Id: Ifc89cffd6d81308f9a14d70e79c279824f45457f
---
M less/common/Overlay.less
M less/common/common-js.less
M less/desktop/mobileBridge.less
M less/minerva.less/minerva.variables.less
M less/specials/pagefeed.less
5 files changed, 13 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/91/161991/1

diff --git a/less/common/Overlay.less b/less/common/Overlay.less
index 4e190e8..e287b68 100644
--- a/less/common/Overlay.less
+++ b/less/common/Overlay.less
@@ -190,12 +190,12 @@
 
        .continue {
                color: white;
-               background-color: @blueBase;
+               background-color: @colorProgressive;
        }
 
        .submit {
                color: white;
-               background-color: @greenBase;
+               background-color: @colorConstructive;
        }
 
        h2 {
diff --git a/less/common/common-js.less b/less/common/common-js.less
index 0ab2e9b..23147d1 100644
--- a/less/common/common-js.less
+++ b/less/common/common-js.less
@@ -59,6 +59,6 @@
        .value {
                width: 0;
                height: 100%;
-               background: @blueBase;
+               background: @colorProgressive;
        }
 }
diff --git a/less/desktop/mobileBridge.less b/less/desktop/mobileBridge.less
index 98b53d6..6733818 100644
--- a/less/desktop/mobileBridge.less
+++ b/less/desktop/mobileBridge.less
@@ -98,7 +98,7 @@
                        width: 40px;
                        border: 1px #33589f solid;
                        color: white;
-                       background-color: @blueBase;
+                       background-color: @colorProgressive;
 
                        &:hover {
                                background-color: #3f77d7;
diff --git a/less/minerva.less/minerva.variables.less 
b/less/minerva.less/minerva.variables.less
index 6d466a5..0668d1b 100644
--- a/less/minerva.less/minerva.variables.less
+++ b/less/minerva.less/minerva.variables.less
@@ -1,3 +1,5 @@
+@import "mediawiki.ui/variables";
+
 // Search bar
 @searchBarPaddingLeft: 40px;
 @searchBarPaddingRight: 40px;
@@ -22,21 +24,19 @@
 @headerHeight: 3.35em;
 
 @grayDark: #252525;
-@grayMediumDark: #555;
-@grayMedium: #777;
-@grayMediumLight: #aaa;
-@grayLight: #ccc;
-@grayLightest: #eee;
+@grayMediumDark: @colorGray5;
+@grayMedium: @colorGray7;
+@grayMediumLight: @colorGray10;
+@grayLight: @colorGray12;
+@grayLightest: @colorGray14;
 
 // page actions
 @watchStarSize: 22px;
 
 // colors
 @semiTransparent: rgba(255, 255, 255, .8);
-@blueBase : #347BFF;
-@greenBase : #00AF89;
 // note this is also used for red links
-@redBase : #CC0000;
+@redBase : @colorErrorText;
 @mainMenuBackgroundColor: #4E4E4E;
 @colorTutorial: #006398;
 @linkColor: #002bb8;
diff --git a/less/specials/pagefeed.less b/less/specials/pagefeed.less
index c3d91b9..7ff3976 100644
--- a/less/specials/pagefeed.less
+++ b/less/specials/pagefeed.less
@@ -40,7 +40,7 @@
 
                &.selected {
                        a {
-                               border-bottom: solid 3px @blueBase;
+                               border-bottom: solid 3px @colorProgressive;
                                font-weight: bold;
                        }
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc89cffd6d81308f9a14d70e79c279824f45457f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to