add poststyle assignment and expanded
This commit is contained in:
parent
7f44273565
commit
9e103c3de3
3 changed files with 13 additions and 3 deletions
5
maker.js
5
maker.js
|
@ -28,12 +28,14 @@ function getMapping(options) {
|
|||
fileSuffix: ""
|
||||
};
|
||||
let design = options.design || [];
|
||||
let poststyle = options.poststyle || [];
|
||||
let weight = options.weight || "book";
|
||||
let slantness = options.slantness || "upright";
|
||||
let hives = ["iosevka"].concat(
|
||||
design,
|
||||
["w-" + weight, "s-" + slantness],
|
||||
(options.styles || {})[slantness] || []
|
||||
(options.styles || {})[slantness] || [],
|
||||
poststyle
|
||||
);
|
||||
let dir = [
|
||||
options.dirPrefix || "",
|
||||
|
@ -98,6 +100,7 @@ if (argv.custom) {
|
|||
custom: '$(BUILD)/targets-' + argv.custom + '.mk',
|
||||
name: "customized-" + argv.custom,
|
||||
design: argv.design.trim().split(/ +/),
|
||||
poststyle: argv.poststyle.trim().split(/ +/),
|
||||
width: argv.width,
|
||||
infix: argv.custom,
|
||||
styles: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue