Skip to content

Commit 940043d

Browse files
committed
Source resize options from config
1 parent 462530f commit 940043d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plugins/resize.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
export default function({ variants }) {
2-
return function({ addUtilities }) {
1+
export default function() {
2+
return function({ addUtilities, config }) {
33
addUtilities(
44
{
55
'.resize-none': { resize: 'none' },
66
'.resize-y': { resize: 'vertical' },
77
'.resize-x': { resize: 'horizontal' },
88
'.resize': { resize: 'both' },
99
},
10-
variants
10+
config('variants.resize')
1111
)
1212
}
1313
}

0 commit comments

Comments
 (0)