summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--local.scss10
-rw-r--r--partials/_base-blueprint.scss6
-rw-r--r--partials/_base.scss32
3 files changed, 41 insertions, 7 deletions
diff --git a/local.scss b/local.scss
index 58c8a02..74dfdb9 100644
--- a/local.scss
+++ b/local.scss
@@ -21,17 +21,17 @@ p {
}
h1, h2, h3 {
- color: darkgreen;
+ color: $headerColor;
clear: both;
}
a {
@include hover-link;
- @include link-colors(black, darkgreen, black, black, darkgreen);
+ @include link-colors($linkColor, $linkHoverColor, $linkColor, $linkColor, $linkHoverColor);
font-weight: bold;
}
.selflink {
- color: darkgreen;
+ color: $linkHoverColor;
}
.header,
@@ -73,13 +73,13 @@ a {
}
.sidebar ul li .selflink {
- color: darkgreen;
+ color: $linkHoverColor;
}
.pagecloud {
float: right;
width: auto;
- color: darkgreen !important;
+ color: $linkHoverColor !important;
border: none;
background-color: none;
}
diff --git a/partials/_base-blueprint.scss b/partials/_base-blueprint.scss
new file mode 100644
index 0000000..35dabed
--- /dev/null
+++ b/partials/_base-blueprint.scss
@@ -0,0 +1,6 @@
+// Blueprint integration
+//
+// No styleguide reference.
+$blueprint-font-family: $baseFontFamily;
+
+$blueprint-font-size: $baseFontSize;
diff --git a/partials/_base.scss b/partials/_base.scss
index df8d24d..b8cc418 100644
--- a/partials/_base.scss
+++ b/partials/_base.scss
@@ -1,4 +1,32 @@
-$blueprint-font-family: Arial, Helvetica, sans-serif;
+// Colors
+//
+// (don't use these directly - only referenced by other variables)
+//
+// No styleguide reference.
+$black: black;
+$white: white;
+$green: darkgreen;
+// color model
+$colorBase: $black;
+$colorBg: $white;
+$colorPrimary: $green;
+
+// Typography
+//
+// No styleguide reference.
// Follow W3C recommendation: http://www.w3.org/QA/Tips/font-size
-$blueprint-font-size: 16px;
+$baseFontSize: 16px;
+$baseFontFamily: Arial, Helvetica, sans-serif;
+
+$baseTextColor: $colorBase;
+
+$linkColor: $colorBase;
+$linkHoverColor: $colorPrimary;
+
+$headerColor: $colorPrimary;
+
+// Framework integrations
+//
+// No styleguide reference.
+@import "base-blueprint";