From c3946ef2167f16f8c0dfcd2441c0f9550e52909b Mon Sep 17 00:00:00 2001 From: Morten Christoffersen Date: Tue, 10 Dec 2013 10:27:11 +0100 Subject: [PATCH] Antialiasing for Firefox (v25 and later) on Mac As of version 25 of Firefox, antialiasing is now available on Mac using the "-moz-osx-font-smoothing: grayscale;" property. This should be added to the .antialiased class. --- scss/foundation/components/_global.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scss/foundation/components/_global.scss b/scss/foundation/components/_global.scss index ba1854228..dcdde09c6 100644 --- a/scss/foundation/components/_global.scss +++ b/scss/foundation/components/_global.scss @@ -364,8 +364,8 @@ $cursor-text-value: text !default; // Font smoothing // Antialiased font smoothing works best for light text on a dark background. // Apply to single elements instead of globally to body. - // Note this only applies to webkit-based desktop browsers on the Mac. - .antialiased { -webkit-font-smoothing: antialiased; } + // Note this only applies to webkit-based desktop browsers and Firefox 25 (and later) on the Mac. + .antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } // Get rid of gap under images by making them display: inline-block; by default img { -- 2.47.2