diff --git a/src/index.js b/src/index.js index c8e8844..6a10890 100644 --- a/src/index.js +++ b/src/index.js @@ -13,15 +13,23 @@ const spaceUtilities = require('./spaceUtilities'); const divideUtilities = require('./divideUtilities'); module.exports = plugin(({ addUtilities, theme, variants }) => { - addUtilities(paddingUtilities(theme), variants('padding')); - addUtilities(marginUtilities(theme), variants('margin')); - addUtilities(insetUtilities(theme), variants('inset')); + addUtilities(paddingUtilities(theme), variants('padding'), { + supportsNegativeValues: true, + }); + addUtilities(marginUtilities(theme), variants('margin'), { + supportsNegativeValues: true, + }); + addUtilities(insetUtilities(theme), variants('inset'), { + supportsNegativeValues: true, + }); addUtilities(borderRadiusUtilities(theme), variants('borderRadius')); addUtilities(clearUtilities(), variants('clear')); addUtilities(floatUtilities(), variants('float')); addUtilities(borderWidthUtilities(theme), variants('borderWidth')); addUtilities(textAlignUtilities(), variants('textAlign')); addUtilities(transformOriginUtilities(), variants('transformOrigin')); - addUtilities(spaceUtilities(theme), variants('space')); + addUtilities(spaceUtilities(theme), variants('space'), { + supportsNegativeValues: true, + }); addUtilities(divideUtilities(theme), variants('divide')); });