Syllabus/themes/piratecare/node_modules/tailwindcss/lib/plugins/transform.js

29 lines
888 B
JavaScript
Raw Normal View History

2020-03-05 04:10:52 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
function _default() {
return function ({
addUtilities,
variants
}) {
addUtilities({
'.transform': {
'--transform-translate-x': '0',
'--transform-translate-y': '0',
'--transform-rotate': '0',
'--transform-skew-x': '0',
'--transform-skew-y': '0',
'--transform-scale-x': '1',
'--transform-scale-y': '1',
transform: ['translateX(var(--transform-translate-x))', 'translateY(var(--transform-translate-y))', 'rotate(var(--transform-rotate))', 'skewX(var(--transform-skew-x))', 'skewY(var(--transform-skew-y))', 'scaleX(var(--transform-scale-x))', 'scaleY(var(--transform-scale-y))'].join(' ')
},
'.transform-none': {
transform: 'none'
}
}, variants('transform'));
};
}