From 6abf16038ee9bf80b16ee15d648d81a63c06eaf1 Mon Sep 17 00:00:00 2001 From: Tan Zhen Yong Date: Fri, 26 Mar 2021 15:09:56 +0800 Subject: [PATCH] Fix default strategy The default should be `base`, not `class`. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index c5bacef..ca8f89c 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,7 @@ const defaultTheme = require('tailwindcss/defaultTheme') const [baseFontSize, { lineHeight: baseLineHeight }] = defaultTheme.fontSize.base const { colors, spacing, borderWidth, borderRadius, outline } = defaultTheme -const forms = plugin.withOptions(function (options = { strategy: 'class' }) { +const forms = plugin.withOptions(function (options = { strategy: 'base' }) { return function ({ addBase, theme }) { const strategy = options.strategy