Isarra has submitted this change and it was merged.

Change subject: Add some colour variables
......................................................................


Add some colour variables

Currently just used for text and links.

Unrelatedly, also some notes for the layout.

Change-Id: I3cb26e4eaf3c9d35fecf9899e817ba0df31084cb
---
A notes
M resources/screen-common.less
M resources/variables.less
3 files changed, 45 insertions(+), 0 deletions(-)

Approvals:
  Isarra: Verified; Looks good to me, approved



diff --git a/notes b/notes
new file mode 100644
index 0000000..eb1ae45
--- /dev/null
+++ b/notes
@@ -0,0 +1 @@
+...
diff --git a/resources/screen-common.less b/resources/screen-common.less
index 88622c5..0117d5f 100644
--- a/resources/screen-common.less
+++ b/resources/screen-common.less
@@ -7,6 +7,24 @@
        font-family: sans-serif;
        margin: 0;
        padding: 0;
+       color: @text;
+       background: @background;
+}
+
+a {
+       text-decoration: none;
+       color: @blue;
+
+       &:visited {
+               color: @blue-dark;
+       }
+       &.new {
+               color: @red;
+
+               &:visited {
+                       color: @red-dark;
+               }
+       }
 }
 
 #p-logo {
diff --git a/resources/variables.less b/resources/variables.less
index 5e22705..3e1eb3a 100644
--- a/resources/variables.less
+++ b/resources/variables.less
@@ -1,5 +1,31 @@
 @import "mediawiki.mixins";
 
+@text: #013;
+@background: #fff;
+
+@link: @blue;
+@link-red: @red;
+
+@grey: #ddd;
+@grey-bright: #f0f0f0;
+@grey-dark: #aaa;
+
+@red: #b22;
+@red-bright: #f44;
+@red-dark: #800;
+
+@green: #194;
+@green-bright: #4c7;
+@green-dark: #071;
+
+@blue: #06a;
+@blue-bright: #0af;
+@blue-dark: #047;
+
+@link: @blue;
+@link-red: @red;
+
+
 /* To hide objects, but keep them accessible for screen-readers */
 .hidden() {
        position: absolute;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3cb26e4eaf3c9d35fecf9899e817ba0df31084cb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Timeless
Gerrit-Branch: master
Gerrit-Owner: Isarra <[email protected]>
Gerrit-Reviewer: Isarra <[email protected]>

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

Reply via email to