tailwind-ctp-intellisense/packages/tailwindcss-language-server/tests/fixtures/overrides-variants/tailwind.config.js

9 lines
244 B
JavaScript
Raw Normal View History

module.exports = {
plugins: [
function ({ addVariant, matchVariant }) {
matchVariant('custom', (value) => `.custom:${value} &`, { values: { hover: 'hover' } })
addVariant('custom-hover', `.custom:hover &:hover`)
},
],
}