From f7fdc1ad7449795219ad93dcf016efbab1d6c214 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 13 Mar 2019 15:00:45 +0100 Subject: [PATCH] Set default weight to '400' instead of 'normal' --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e1fae15..f38d5e1 100644 --- a/index.js +++ b/index.js @@ -35,7 +35,7 @@ module.exports = function(fonts, size, lineHeight) { if (!Array.isArray(fonts)) { fonts = [fonts]; } - var weight = 'normal'; + var weight = 400; var style = 'normal'; var fontFamilies = [] var haveWeight, haveStyle;