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, logotheme.mdxtokens: color, type, spacing, radius, motiontemplates/renewal-notice.mdxa Template for one Message
Reference
| File | Frontmatter | Body |
|---|---|---|
index.mdx | name, voice, logo | How the Brand speaks |
theme.mdx | tokens, with light and dark values | None |
templates/ | kind: message, document or page; subject | The Template, with {variables} read from records |
Examples
Minimal
---
name: Leaseline
voice: Plain and calm.
---Leaseline
brand/:
---
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,ThemeandTemplateVersions- a Template edit reaches everything built from it at the next send or publish
Good to know
- New markup or CSS enters only as a new Component or Theme. See Components.