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
22 lines
643 B
Plaintext
22 lines
643 B
Plaintext
"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 |