We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4bfffe commit 417ee19Copy full SHA for 417ee19
tailwind.config.js
@@ -74,13 +74,7 @@ module.exports = {
74
plugins: [
75
// imitation of the twin.macro svg: variant. svg:text-green-500 puts green
76
// on an SVG that's an immediate child of the element
77
- plugin(function ({ addVariant, e }) {
78
- addVariant('svg', ({ modifySelectors, separator }) => {
79
- modifySelectors(
80
- ({ className }) => `.${e(`svg${separator}${className}`)} > svg`
81
- )
82
- })
83
- }),
+ plugin(({ addVariant }) => addVariant('svg', '& > svg')),
84
childrenPlugin,
85
],
86
/**
0 commit comments