Skip to content

Brand

The brand folder holds the Brand, its Theme tokens and the Templates every Message, Document and Page is built from.

The brand/ folder holds the Brand, its Theme and the Templates every Message, Document and Page is built from.

  • brand/
  • index.mdxname, voice, logo
  • theme.mdxtokens: color, type, spacing, radius, motion
  • templates/renewal-notice.mdxa Template for one Message

Reference

FileFrontmatterBody
index.mdxname, voice, logoHow the Brand speaks
theme.mdxtokens, with light and dark valuesNone
templates/[name].mdxkind: message, document or page; subjectThe Template, with {variables} read from records

Examples

Minimal

brand/index.mdx
---
name: Leaseline
voice: Plain and calm.
---

Leaseline

brand/templates/renewal-notice.mdx:

brand/templates/renewal-notice.mdx
---
kind: message
subject: Your lease at {lease.unit} ends on {lease.endsOn}
---
Hi {lease.resident.firstName},

Your lease ends on {lease.endsOn}. The rent from then is {lease.newRent}.
Reply to this email to renew, or tell us what you need.

What it builds

The SiteBuilder compiles the folder.

  • Brand, Theme and Template Versions
  • a Template edit reaches everything built from it at the next send or publish

Good to know