main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 5 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
998 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | exports.borderLeftStyle = exports.borderBottomStyle = exports.borderRightStyle = exports.borderTopStyle = void 0;
|
---|
4 | var borderStyleForSide = function (side) { return ({
|
---|
5 | name: "border-" + side + "-style",
|
---|
6 | initialValue: 'solid',
|
---|
7 | prefix: false,
|
---|
8 | type: 2 /* IDENT_VALUE */,
|
---|
9 | parse: function (_context, style) {
|
---|
10 | switch (style) {
|
---|
11 | case 'none':
|
---|
12 | return 0 /* NONE */;
|
---|
13 | case 'dashed':
|
---|
14 | return 2 /* DASHED */;
|
---|
15 | case 'dotted':
|
---|
16 | return 3 /* DOTTED */;
|
---|
17 | case 'double':
|
---|
18 | return 4 /* DOUBLE */;
|
---|
19 | }
|
---|
20 | return 1 /* SOLID */;
|
---|
21 | }
|
---|
22 | }); };
|
---|
23 | exports.borderTopStyle = borderStyleForSide('top');
|
---|
24 | exports.borderRightStyle = borderStyleForSide('right');
|
---|
25 | exports.borderBottomStyle = borderStyleForSide('bottom');
|
---|
26 | exports.borderLeftStyle = borderStyleForSide('left');
|
---|
27 | //# sourceMappingURL=border-style.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.