baz.studio API

baz font

Manage project fonts

baz font [options] [command]
OptionDescription
-h, --helpdisplay help for command

baz font upload

Upload a WOFF2, WOFF, TTF, or OTF font to the active project

baz font upload [options] <file>
OptionDescription
--family <name>CSS font-family name, for example Effra
--weight <weight>Font weight from 1 to 1000 Default: 400.
--style <style>Font style: normal or italic Default: normal.
-h, --helpdisplay help for command
Supported files:
  WOFF2, WOFF, TTF, and OTF.

Font face fields:
  --family is the CSS font-family name used in scene code.
  --weight identifies the uploaded face, for example 400 or 700.
  --style identifies a normal or italic face.

Examples:
  baz font upload ./Effra.ttf --family Effra --project-id <id>
  baz font upload ./Effra-BoldItalic.woff2 --family Effra --weight 700 --style italic --project-id <id> --json

On this page