Skip to the content

Guide · Making a video

Brand

Where a video’s colors, fonts and logos come from: a brand kit, the live site, or a few overrides.

A video wears the project’s own brand. It comes from one of three places, and later ones win:

  1. The live site or app, read by brand.mjs when there’s no brand kit: paper, ink, primary, accent and dark from the CSS, the heading and body faces, the favicon as the mark, and a wide header logo. It writes a swatch to check.
  2. A Logowright brand.json, pointed at with brandJson: colors by role, display and text faces, and the mark for light and dark scenes.
  3. brand in the story: overrides for any of it, such as accent, display or logo.

Fonts are Google Fonts; a brand face that isn’t one is mapped to the closest that is. Colors that text wouldn’t read on are darkened.