Sha256: 4820cebc649581173467f43255bb16186c66f6a52a9c4bde68cbf9a552ef00d1
Contents?: true
Size: 497 Bytes
Versions: 6
Compression:
Stored size: 497 Bytes
Contents
'use strict'; var valid_weights = ['normal', 'bold', 'bolder', 'lighter', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'inherit']; module.exports.isValid = function isValid(v) { return valid_weights.indexOf(v.toLowerCase()) !== -1; }; module.exports.definition = { set: function (v) { this._setProperty('font-weight', v); }, get: function () { return this.getPropertyValue('font-weight'); }, enumerable: true, configurable: true };
Version data entries
6 entries across 5 versions & 4 rubygems