fix SLAB spacing
This commit is contained in:
parent
bbdf93b611
commit
9f13713fd2
4 changed files with 67 additions and 51 deletions
8
maker.js
8
maker.js
|
@ -28,14 +28,14 @@ function getMapping(options) {
|
|||
fileSuffix: ""
|
||||
};
|
||||
let design = options.design || [];
|
||||
let poststyle = options.poststyle || [];
|
||||
let prestyle = options.prestyle || [];
|
||||
let weight = options.weight || "book";
|
||||
let slantness = options.slantness || "upright";
|
||||
let hives = ["iosevka"].concat(
|
||||
design,
|
||||
prestyle,
|
||||
["w-" + weight, "s-" + slantness],
|
||||
(options.styles || {})[slantness] || [],
|
||||
poststyle
|
||||
design
|
||||
);
|
||||
let dir = [
|
||||
options.dirPrefix || "",
|
||||
|
@ -100,7 +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(/ +/),
|
||||
prestyle: argv.prestyle.trim().split(/ +/),
|
||||
width: argv.width,
|
||||
infix: argv.custom,
|
||||
styles: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue