From 8b3cbbd7a7206172fd77fcb98099eb202379ac12 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Tue, 3 Oct 2017 20:26:49 -0400 Subject: [PATCH] Add text smooth utility. --- src/generators/textStyle.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/generators/textStyle.js b/src/generators/textStyle.js index a7d63e241..17f7c8f5e 100644 --- a/src/generators/textStyle.js +++ b/src/generators/textStyle.js @@ -8,6 +8,10 @@ export default function() { 'text-capitalize': { 'text-transform': 'capitalize' }, 'text-underline': { 'text-decoration': 'underline' }, 'text-strike': { 'text-decoration': 'line-through' }, + 'text-smooth': { + '-webkit-font-smoothing': 'antialiased', + '-moz-osx-font-smoothing': 'grayscale', + }, 'text-normal': { 'text-decoration': 'none', 'text-transform': 'none',