Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
404 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = void 0;
|
---|
7 |
|
---|
8 | var _postcss = require("postcss");
|
---|
9 |
|
---|
10 | var _default = v => {
|
---|
11 | const s = typeof v === 'string' ? _postcss.list.space(v) : v;
|
---|
12 | return [s[0], // top
|
---|
13 | s[1] || s[0], // right
|
---|
14 | s[2] || s[0], // bottom
|
---|
15 | s[3] || s[1] || s[0] // left
|
---|
16 | ];
|
---|
17 | };
|
---|
18 |
|
---|
19 | exports.default = _default;
|
---|
20 | module.exports = exports.default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.