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:
643 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | exports.letterSpacing = void 0;
|
---|
4 | exports.letterSpacing = {
|
---|
5 | name: 'letter-spacing',
|
---|
6 | initialValue: '0',
|
---|
7 | prefix: false,
|
---|
8 | type: 0 /* VALUE */,
|
---|
9 | parse: function (_context, token) {
|
---|
10 | if (token.type === 20 /* IDENT_TOKEN */ && token.value === 'normal') {
|
---|
11 | return 0;
|
---|
12 | }
|
---|
13 | if (token.type === 17 /* NUMBER_TOKEN */) {
|
---|
14 | return token.number;
|
---|
15 | }
|
---|
16 | if (token.type === 15 /* DIMENSION_TOKEN */) {
|
---|
17 | return token.number;
|
---|
18 | }
|
---|
19 | return 0;
|
---|
20 | }
|
---|
21 | };
|
---|
22 | //# sourceMappingURL=letter-spacing.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.