You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
357 B

4 years ago
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _postcss = require('postcss');
  6. exports.default = v => {
  7. const s = typeof v === 'string' ? _postcss.list.space(v) : v;
  8. return [s[0], // top
  9. s[1] || s[0], // right
  10. s[2] || s[0], // bottom
  11. s[3] || s[1] || s[0]];
  12. };
  13. module.exports = exports['default'];