31 lines
604 B
JavaScript
31 lines
604 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _default;
|
|
|
|
function _default() {
|
|
return function ({
|
|
addUtilities,
|
|
variants
|
|
}) {
|
|
addUtilities({
|
|
'.whitespace-normal': {
|
|
'white-space': 'normal'
|
|
},
|
|
'.whitespace-no-wrap': {
|
|
'white-space': 'nowrap'
|
|
},
|
|
'.whitespace-pre': {
|
|
'white-space': 'pre'
|
|
},
|
|
'.whitespace-pre-line': {
|
|
'white-space': 'pre-line'
|
|
},
|
|
'.whitespace-pre-wrap': {
|
|
'white-space': 'pre-wrap'
|
|
}
|
|
}, variants('whitespace'));
|
|
};
|
|
} |