From 8b0fc2984ac38cb0bb79758aa5c8a76e228ea0c6 Mon Sep 17 00:00:00 2001 From: Zach Schnackel Date: Thu, 1 Nov 2012 09:27:36 -0400 Subject: [PATCH] Add -webkit-font-smoothing variable --- scss/foundation/_settings.scss | 1 + scss/foundation/common/_globals.scss | 2 +- templates/project/scss/_settings.scss | 1 + test/scss/_settings.scss | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) 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; -- 2.47.3