2020-10-20 05:04:18 +00:00

31 lines
625 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
function _default() {
return function ({
addUtilities,
variants,
target
}) {
addUtilities({
'.bg-clip-border': {
'background-clip': 'border-box'
},
'.bg-clip-padding': {
'background-clip': 'padding-box'
},
'.bg-clip-content': {
'background-clip': 'content-box'
},
...(target('display') === 'ie11' ? {} : {
'.bg-clip-text': {
'background-clip': 'text'
}
})
}, variants('backgroundClip'));
};
}