Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
21 lines
816 B
Plaintext
21 lines
816 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.borderLeftWidth = exports.borderBottomWidth = exports.borderRightWidth = exports.borderTopWidth = void 0;
|
|
var parser_1 = require("../syntax/parser");
|
|
var borderWidthForSide = function (side) { return ({
|
|
name: "border-" + side + "-width",
|
|
initialValue: '0',
|
|
type: 0 /* VALUE */,
|
|
prefix: false,
|
|
parse: function (_context, token) {
|
|
if (parser_1.isDimensionToken(token)) {
|
|
return token.number;
|
|
}
|
|
return 0;
|
|
}
|
|
}); };
|
|
exports.borderTopWidth = borderWidthForSide('top');
|
|
exports.borderRightWidth = borderWidthForSide('right');
|
|
exports.borderBottomWidth = borderWidthForSide('bottom');
|
|
exports.borderLeftWidth = borderWidthForSide('left');
|
|
//# sourceMappingURL=border-width.js.map |