From 64c026f2e0e6c88ffdbcb393c0e01a73aa577c94 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Thu, 28 Feb 2019 12:32:37 -0500 Subject: [PATCH] Source pointerEvents options from config --- src/plugins/pointerEvents.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/pointerEvents.js b/src/plugins/pointerEvents.js index b9d6826bf..c82659b76 100644 --- a/src/plugins/pointerEvents.js +++ b/src/plugins/pointerEvents.js @@ -1,11 +1,11 @@ -export default function({ variants }) { - return function({ addUtilities }) { +export default function() { + return function({ addUtilities, config }) { addUtilities( { '.pointer-events-none': { 'pointer-events': 'none' }, '.pointer-events-auto': { 'pointer-events': 'auto' }, }, - variants + config('variants.pointerEvents') ) } }