katoikia-app/web-ui/web-react/node_modules/postcss-merge-longhand/dist/lib/numValues.js

15 lines
305 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _postcss = require('postcss');
const { space } = _postcss.list;
exports.default = (...rules) => {
return rules.reduce((memo, rule) => memo += space(rule.value).length, 0);
};
module.exports = exports['default'];