From: Zach Schnackel Date: Thu, 1 Nov 2012 13:27:36 +0000 (-0400) Subject: Add -webkit-font-smoothing variable X-Git-Tag: v3.2.1~4^2~2^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1112%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add -webkit-font-smoothing variable --- diff --git a/scss/foundation/_settings.scss b/scss/foundation/_settings.scss index 5d7fdb9f3..f0e9b6ecc 100644 --- a/scss/foundation/_settings.scss +++ b/scss/foundation/_settings.scss @@ -23,6 +23,7 @@ $darkEdge: rgba(#000, .2) !default; // Font Settings +$fontSmoothing: antialiased; $headerFontFamily: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default; $headerFontWeight: bold !default; $headerFontStyle: normal !default; diff --git a/scss/foundation/common/_globals.scss b/scss/foundation/common/_globals.scss index d3f8b99b2..21fc2988d 100644 --- a/scss/foundation/common/_globals.scss +++ b/scss/foundation/common/_globals.scss @@ -4,7 +4,7 @@ * { @include box-sizing(border-box); } html { font-size: 62.5%; } - body { background: $white; font-family: $bodyFontFamily; font-weight: $bodyFontWeight; font-style: $bodyFontStyle; font-size: ms(0); line-height: 1; color: $bodyFontColor; position: relative; -webkit-font-smoothing: antialiased; } + body { background: $white; font-family: $bodyFontFamily; font-weight: $bodyFontWeight; font-style: $bodyFontStyle; font-size: ms(0); line-height: 1; color: $bodyFontColor; position: relative; -webkit-font-smoothing: $fontSmoothing; } /* Links ---------------------- */ diff --git a/templates/project/scss/_settings.scss b/templates/project/scss/_settings.scss index 98c55abe9..8d5e799a5 100644 --- a/templates/project/scss/_settings.scss +++ b/templates/project/scss/_settings.scss @@ -25,6 +25,7 @@ // Font Settings +// $fontSmoothing: antialiased; // $headerFontFamily: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; // $headerFontWeight: bold; // $headerFontStyle: normal; diff --git a/test/scss/_settings.scss b/test/scss/_settings.scss index 98c55abe9..8d5e799a5 100644 --- a/test/scss/_settings.scss +++ b/test/scss/_settings.scss @@ -25,6 +25,7 @@ // Font Settings +// $fontSmoothing: antialiased; // $headerFontFamily: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; // $headerFontWeight: bold; // $headerFontStyle: normal;