Skip to content

Commit 53be865

Browse files
committed
Fixes, update fixtures
1 parent 018c630 commit 53be865

7 files changed

+72039
-73605
lines changed

src/plugins/backdropBlur.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default function () {
2-
return function ({ matchUtilities2, theme }) {
2+
return function ({ matchUtilities2, theme, variants }) {
33
matchUtilities2(
44
{
55
'backdrop-blur': (value) => {
@@ -8,7 +8,7 @@ export default function () {
88
},
99
{
1010
values: theme('backdropBlur'),
11-
variants: theme('backdropBlur'),
11+
variants: variants('backdropBlur'),
1212
type: 'any',
1313
}
1414
)

src/plugins/backgroundColor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function () {
2121
},
2222
{
2323
values: flattenColorPalette(theme('backgroundColor')),
24-
variant: variants('backgroundColor'),
24+
variants: variants('backgroundColor'),
2525
type: 'color',
2626
}
2727
)

src/plugins/stroke.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import flattenColorPalette from '../util/flattenColorPalette'
22
import toColorValue from '../util/toColorValue'
33

44
export default function () {
5-
return function ({ matchUtilities2, theme }) {
5+
return function ({ matchUtilities2, theme, variants }) {
66
matchUtilities2(
77
{
88
stroke: (value) => {
@@ -13,7 +13,7 @@ export default function () {
1313
},
1414
{
1515
values: flattenColorPalette(theme('stroke')),
16-
variants: theme('stroke'),
16+
variants: variants('stroke'),
1717
type: 'color',
1818
}
1919
)

0 commit comments

Comments
 (0)