You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
643 B
22 lines
643 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.letterSpacing = void 0;
|
|
exports.letterSpacing = {
|
|
name: 'letter-spacing',
|
|
initialValue: '0',
|
|
prefix: false,
|
|
type: 0 /* VALUE */,
|
|
parse: function (_context, token) {
|
|
if (token.type === 20 /* IDENT_TOKEN */ && token.value === 'normal') {
|
|
return 0;
|
|
}
|
|
if (token.type === 17 /* NUMBER_TOKEN */) {
|
|
return token.number;
|
|
}
|
|
if (token.type === 15 /* DIMENSION_TOKEN */) {
|
|
return token.number;
|
|
}
|
|
return 0;
|
|
}
|
|
};
|
|
//# sourceMappingURL=letter-spacing.js.map
|