Add Extrabold weight.
This commit is contained in:
parent
0a8375f610
commit
fd4f485222
6 changed files with 165 additions and 7 deletions
11
maker.js
11
maker.js
|
@ -3,7 +3,16 @@ const path = require("path");
|
|||
const argv = require("yargs").argv;
|
||||
const pad = require("pad");
|
||||
|
||||
const possibleWeights = new Set(["thin", "extralight", "light", "book", "medium", "bold", "heavy"]);
|
||||
const possibleWeights = new Set([
|
||||
"thin",
|
||||
"extralight",
|
||||
"light",
|
||||
"book",
|
||||
"medium",
|
||||
"bold",
|
||||
"extrabold",
|
||||
"heavy"
|
||||
]);
|
||||
const weights = argv.weights
|
||||
? argv.weights.split(/ +/g).filter(w => possibleWeights.has(w))
|
||||
: [...possibleWeights];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue