From 57bd5093210d3f1455e6d6eb104add4b72bf99f8 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Wed, 22 Feb 2017 14:17:11 +0800 Subject: [PATCH] feat(curtana): global font smoothing --- _app/assets/themes/curtana/_less/mixins.less | 1 - _app/assets/themes/curtana/_less/reset.less | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_app/assets/themes/curtana/_less/mixins.less b/_app/assets/themes/curtana/_less/mixins.less index 77cea75de..e742ee3b7 100644 --- a/_app/assets/themes/curtana/_less/mixins.less +++ b/_app/assets/themes/curtana/_less/mixins.less @@ -17,7 +17,6 @@ .heading() { font-size: 360%; - -webkit-font-smoothing: antialiased; font-weight: bold; letter-spacing: @heading-letter-spacing; } diff --git a/_app/assets/themes/curtana/_less/reset.less b/_app/assets/themes/curtana/_less/reset.less index d13ff727f..448002c87 100644 --- a/_app/assets/themes/curtana/_less/reset.less +++ b/_app/assets/themes/curtana/_less/reset.less @@ -15,6 +15,8 @@ html { text-size-adjust: none; text-rendering: optimizelegibility; image-rendering: optimizequality; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; // TODO: You have to speicify background color for `html` in order to // make `-webkit-filter` work // Link: https://bugs.chromium.org/p/chromium/issues/detail?id=591015