Skip to content

Commit 2a5eb0b

Browse files
authored
Merge pull request #3 from fredj/default_weight
Set default weight to '400' instead of 'normal'
2 parents 1c08e18 + f7fdc1a commit 2a5eb0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = function(fonts, size, lineHeight) {
3535
if (!Array.isArray(fonts)) {
3636
fonts = [fonts];
3737
}
38-
var weight = 'normal';
38+
var weight = 400;
3939
var style = 'normal';
4040
var fontFamilies = []
4141
var haveWeight, haveStyle;

0 commit comments

Comments
 (0)