forked from rDrama/rDrama
31 lines
575 B
JavaScript
31 lines
575 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _default;
|
|
|
|
function _default() {
|
|
return function ({
|
|
addUtilities,
|
|
variants
|
|
}) {
|
|
addUtilities({
|
|
'.object-contain': {
|
|
'object-fit': 'contain'
|
|
},
|
|
'.object-cover': {
|
|
'object-fit': 'cover'
|
|
},
|
|
'.object-fill': {
|
|
'object-fit': 'fill'
|
|
},
|
|
'.object-none': {
|
|
'object-fit': 'none'
|
|
},
|
|
'.object-scale-down': {
|
|
'object-fit': 'scale-down'
|
|
}
|
|
}, variants('objectFit'));
|
|
};
|
|
} |