@tailwindcss/postcss7-compat
Version:
A utility-first CSS framework for rapidly building custom user interfaces.
31 lines (29 loc) • 581 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
function _default() {
return function ({
config,
matchUtilities,
theme,
variants
}) {
matchUtilities({
sepia: value => {
return {
'--tw-sepia': `sepia(${value})`,
...(config('mode') === 'jit' ? {
'@defaults filter': {},
filter: 'var(--tw-filter)'
} : {})
};
}
}, {
values: theme('sepia'),
variants: variants('sepia'),
type: 'any'
});
};
}
;