Add support for private-build-plane.toml

This commit is contained in:
belleve 2018-08-16 19:41:04 +08:00
parent 8e34152e9c
commit b82ce595ce
3 changed files with 38 additions and 24 deletions

View file

@ -176,7 +176,6 @@ from = [
# Weight mappings (style => shape weight, CSS weight)
# Shape weight : affects the shape of the glyphs
# CSS weight : affects the font menu name and webfont CSS
# Comment the lines to build less weights
[weights.thin]
shape = 100
css = 100
@ -220,18 +219,3 @@ css = 900
upright = "normal"
italic = "italic"
oblique = "oblique"
################################################
# To define your custom build #
# Add a new term into buildPlans #
# and run `npm run build -- fonts:<plan name>` #
################################################
# [buildPlans.iosevka-custom] # <iosevka-custom> is your plan name
# family = "Iosevka Custom" # Font menu family name
# design = ["common styles"] # Common styles
# upright = ["upright-only", "styles"] # Upright-only styles
# italic = ["italic-only", "styles"] # Italic-only styles
# oblique = ["oblique-only", "styles"] # Oblique-only styles
# weights = ["regular", "bold"] # Build only regular and bold fonts
# slants = ["upright", "italic"] # Build only upright and italic fonts