Applying a Voice
Apply a vertical Voice from the admin — it merges identity + genome overrides idempotently, optionally sets a design, and is fully audited and revertible.
A Voice is applied from the admin, and the operation is idempotent — applying the same Voice twice leaves the shop in the same state, so it's safe to re-run.
Requires the verticalPresets flag (default-off). Applying a Voice is admin-only and audited.
From the admin
- Enable
verticalPresetsin/admin/features. - Open
/admin/verticalsand browse the catalogue. - Pick a Voice and choose what to apply — the copy/identity always, and optionally its suggested design and a starter page layout.
- Confirm. The change is written through the genome, recorded in the audit log, and can be reverted.
What "apply" does
Under the hood, applyVertical(slug, opts):
- Validates every genome key it's about to write.
- Merges the Voice's identity anchors + copy overrides into the genome (it never blindly overwrites unrelated fields).
- Optionally sets the design (
designSlug) to the Voice's suggestion. - Optionally applies a starter page layout via
pages.set_layout. - Wraps the whole thing in an audit entry and invalidates the relevant caches.
Because copy is resolved at render through the genome (override ?? resolved ?? anchor), a Voice changes the rendered copy immediately, and you can still hand-edit any field afterward — your edit wins.
Reverting
Every apply is an audited mutation, so you can undo it from the audit log, or apply a different Voice to re-tone again. Nothing is destructive.
The CLI
A Voice can also be installed into a fresh project from the marketplace:
npx cartwright vertical install <slug>This resolves the stable tag (currently the latest engine release) and scaffolds the preset into your repo. See CLI options.
Related
- Voices overview — what a Voice is
- In-place editing & the genome — how resolved copy works
- Audit log & revert — undoing any change
Voices (verticals)
A Voice re-tones any design for an industry — identity + genome copy + palette + an optional 3D scene — applied idempotently from the admin. Content and design stay orthogonal.
Environment Variables
Complete reference for every environment variable Cartwright reads at build time and runtime.