"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var IPropertyDescriptor_1 = require("../IPropertyDescriptor"); var parser_1 = require("../syntax/parser"); exports.fontWeight = { name: 'font-weight', initialValue: 'normal', type: IPropertyDescriptor_1.PropertyDescriptorParsingType.VALUE, prefix: false, parse: function (token) { if (parser_1.isNumberToken(token)) { return token.number; } if (parser_1.isIdentToken(token)) { switch (token.value) { case 'bold': return 700; case 'normal': default: return 400; } } return 400; } }; //# sourceMappingURL=font-weight.js.map