From 90e28a087a577eb997fff0543be3946dcb587db7 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Thu, 28 Feb 2019 11:59:37 -0500 Subject: [PATCH] Source fontSmoothing options from config --- src/plugins/fontSmoothing.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/fontSmoothing.js b/src/plugins/fontSmoothing.js index d34fc6e8e..91186056e 100644 --- a/src/plugins/fontSmoothing.js +++ b/src/plugins/fontSmoothing.js @@ -1,5 +1,5 @@ -export default function({ variants }) { - return function({ addUtilities }) { +export default function() { + return function({ addUtilities, config }) { addUtilities( { '.antialiased': { @@ -11,7 +11,7 @@ export default function({ variants }) { '-moz-osx-font-smoothing': 'auto', }, }, - variants + config('variants.fontSmoothing') ) } }