From 89fc1e42bcf80d20586d44883db0c6494ed6e556 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Thu, 28 Feb 2019 11:35:34 -0500 Subject: [PATCH] Source backgroundAttachment options from config --- src/plugins/backgroundAttachment.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/backgroundAttachment.js b/src/plugins/backgroundAttachment.js index 9b9371b75..c85914eb6 100644 --- a/src/plugins/backgroundAttachment.js +++ b/src/plugins/backgroundAttachment.js @@ -1,12 +1,12 @@ -export default function({ variants }) { - return function({ addUtilities }) { +export default function() { + return function({ addUtilities, config }) { addUtilities( { '.bg-fixed': { 'background-attachment': 'fixed' }, '.bg-local': { 'background-attachment': 'local' }, '.bg-scroll': { 'background-attachment': 'scroll' }, }, - variants + config('variants.backgroundAttachment') ) } }