Skip to content

Commit 91eba41

Browse files
committed
Add config
1 parent feecd80 commit 91eba41

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
plugins: [
3+
function ({ addVariant, matchVariant }) {
4+
matchVariant('custom', (value) => `.custom:${value} &`, { values: { hover: 'hover' } })
5+
addVariant('custom-hover', `.custom:hover &:hover`)
6+
},
7+
],
8+
}

0 commit comments

Comments
 (0)