Urara-Blog/node_modules/.pnpm-store/v3/files/8e/f3efee2ab42412ed2dcc8143557bb080f7c580139b00a7ab0c1eeb21d46e6102ac49b1d35bc40f86e0f84dc3faaf88da6c21a5753e1a526ed281be75dd810d
2022-08-14 01:14:53 +08:00

12 lines
331 B
Text

'use strict';
const { list } = require('postcss');
/** @type {(v: string | string[]) => [string, string, string, string]} */
module.exports = (v) => {
const s = typeof v === 'string' ? list.space(v) : v;
return [
s[0], // top
s[1] || s[0], // right
s[2] || s[0], // bottom
s[3] || s[1] || s[0], // left
];
};