diff options
author | Jonas Smedegaard <dr@jones.dk> | 2013-09-23 16:06:30 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-09-23 16:06:30 +0200 |
commit | 584b556732724ce77db631950eb2de59c087a231 (patch) | |
tree | de1d92942a8eb37003d1119b03c6a1648224c023 | |
parent | 30d6e0d2f98e9dc8e43ea7ba9f16d622bf273ca6 (diff) |
Structure color definitions and more.
-rw-r--r-- | local.scss | 10 | ||||
-rw-r--r-- | partials/_base-blueprint.scss | 6 | ||||
-rw-r--r-- | partials/_base.scss | 32 |
3 files changed, 41 insertions, 7 deletions
@@ -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"; |