From 048857858e6b3d8d8b1f497c8dbb3d2f90f53df0 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 1 Jun 2010 08:57:04 -0700 Subject: [PATCH] [Blueprint] Use color functions instead of simple color math in the blueprint color defaults. Note: this might result in different results for those who have customized their blueprint colors. --- .../blueprint/stylesheets/blueprint/_colors.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frameworks/blueprint/stylesheets/blueprint/_colors.scss b/frameworks/blueprint/stylesheets/blueprint/_colors.scss index adddd8a9..cafb3d32 100644 --- a/frameworks/blueprint/stylesheets/blueprint/_colors.scss +++ b/frameworks/blueprint/stylesheets/blueprint/_colors.scss @@ -1,14 +1,14 @@ $font-color: #333333 !default; -$quiet-color: $font-color + #333333 !default; -$loud-color: $font-color - #222222 !default; -$header-color: $font-color - #111111 !default; +$quiet-color: lighten($font-color, 20%) !default; +$loud-color: darken($font-color, 13.33%) !default; +$header-color: darken($font-color, 6.67%) !default; $alt-text-color: #666666 !default; $link-color: #000099 !default; $link-hover-color: black !default; $link-focus-color: $link-hover-color !default; -$link-active-color: $link-color + #cc0000 !default; -$link-visited-color: $link-color - #333333 !default; +$link-active-color: lighten(adjust-hue($link-color, 75deg), 10%) !default; +$link-visited-color: darken($link-color, 10%) !default; $feedback-border-color: #dddddd !default; $success-color: #264409 !default;