paper-motion

IBM Plex Serif + Plex Sans

plex

Free font pair (Google Fonts): serious, corporate, documentation.

Install
$ npx paper-motion add plex

Merges into brand/tokens.json; keeps your own values unless you pass --force.

Tune it, then add it to your kit
Make it move.

Body text for captions and lines that explain.

IBM Plex SerifIBM Plex SansIBM Plex Mono

Parameters
display
text
mono
displayWeight
tracking
{
  "fonts": {
    "display": {
      "family": "IBM Plex Serif",
      "weights": [
        500
      ],
      "css": "https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@500&display=swap",
      "license": "OFL"
    },
    "text": {
      "family": "IBM Plex Sans",
      "weights": [
        400,
        500
      ],
      "css": "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500&display=swap",
      "license": "OFL"
    },
    "mono": {
      "family": "IBM Plex Mono",
      "weights": [
        400
      ],
      "css": "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400&display=swap",
      "license": "OFL"
    }
  },
  "type": {
    "reference": 1080,
    "display": {
      "font": "display",
      "weight": 500,
      "size": 200,
      "lineHeight": 0.95,
      "tracking": "-0.01em"
    },
    "title": {
      "font": "display",
      "weight": 500,
      "size": 96,
      "lineHeight": 1,
      "tracking": "-0.01em"
    },
    "body": {
      "font": "text",
      "weight": 400,
      "size": 28,
      "lineHeight": 1.45,
      "tracking": "0em"
    },
    "caption": {
      "font": "mono",
      "weight": 400,
      "size": 20,
      "lineHeight": 1.3,
      "tracking": "0em"
    }
  }
}
Defaults

Notes

  • Fonts load from Google Fonts at render time; for offline renders, download the files into brand/assets/fonts/ and set file instead of css.
  • Sizes are for a 1080 px short side; B.type() scales them for other formats.

Spec

Id
plex
Type
Font pairs
Version
1.0.0
Engine
>=0.2.0
License
OFL

Related