Skip to content
Vitops
GuidesComponentsPackagesThemeReferenceChangelog

Start here

VitopsInstallationStart a new EmDash siteYour design systemYour config

Live preview

Theme previewAnimation libraryIconsPatternsMastheadConfigure a site

Components

OverviewCSS classesWeb componentsAstro componentsBricks elementsEmDash blocks

Packages

@getvitops/cli@getvitops/astro@getvitops/vite@getvitops/generator@getvitops/core@getvitops/utils@getvitops/emdash@getvitops/create

Reference

Config referenceOutput formatsColour systemType & space scalesComponent patternsIconsConsent gateConversion trackingSearchLegal documentsCSS class vocabularyBricks elements

Releases

Changelog

Configure a site

Build a site.json step by step in the browser: identity, contact, brand, accessibility, privacy and more, validated against the real config schema as you type.

The same steps a new client works through when onboarding a site. Fill in what applies, skip what doesn't, and finish with a site.json you can drop into a project. Every field is checked against the config schema vitops validate uses.

  1. Your business
  2. Contact details
  3. Locations and services (optional)
  4. Brand
  5. Accessibility
  6. Languages and address
  7. Privacy and legal
  8. Integrations (optional)
  9. Review

Your business

Your business

How your business is named and described across the site and search results.

Trading name, as a reader would recognise it (e.g. "Acme"). Localisable.Registered legal name (e.g. "Acme Widgets Inc."). The generated legal documents prefer this over name — a policy is a statement by the legal entity.One or two sentences on what the organization does → JSON-LD description and a fallback for SEO. Localisable.Organization logo → JSON-LD logo.Date the organization was founded (YYYY-MM-DD).Tax identification number.VAT identification number.

Contact details

Contact details

General contact address. Also the last fallback for privacy requests — see contact.General contact telephone number.
Registered address

Registered/mailing address. Its addressRegion and addressCountry are what the governing-law clause of the generated terms of service defaults to.

Street line. Optional: a business with no public street address (home-based, service-area) omits it, and the generated legal documents and JSON-LD simply leave the line out.City.State / province.Country (ISO 3166-1 alpha-2 preferred).
Profile URLs → JSON-LD sameAs (mirrors links).
Online profiles

Public profile URLs (also feed JSON-LD sameAs via organization.sameAs).

Locations and services (optional)

Locations

The main locations key (for JSON-LD and defaults).
Locations

Physical locations (schema.org LocalBusiness): address, geo, opening hours, service area.

New location
A string, or a per-locale map of strings ({ en: "…", fr: "…" }).A string, or a per-locale map of strings ({ en: "…", fr: "…" }).
Address

schema.org PostalAddress field names, so JSON-LD generation is lossless.

Street line. Optional: a business with no public street address (home-based, service-area) omits it, and the generated legal documents and JSON-LD simply leave the line out.City.State / province.Country (ISO 3166-1 alpha-2 preferred).
A string, or a per-locale map of strings ({ en: "…", fr: "…" }).

Services

Services

Services offered (schema.org Service/Offer): name, description, slug, price offers.

New service
A string, or a per-locale map of strings ({ en: "…", fr: "…" }).A string, or a per-locale map of strings ({ en: "…", fr: "…" }).A string, or a per-locale map of strings ({ en: "…", fr: "…" }).

Brand

Brand

The colours and fonts the site is built from. Everything finer than this lives in the theme editor.

Brand colours
brand
Seed colour (hex or oklch()). An 11-step numeric scale (50…950, tinted near-white → tinted near-black) is generated in OKLCH from it; the seed is preserved at its natural step.
ink
Seed colour (hex or oklch()). An 11-step numeric scale (50…950, tinted near-white → tinted near-black) is generated in OKLCH from it; the seed is preserved at its natural step.
sky
Seed colour (hex or oklch()). An 11-step numeric scale (50…950, tinted near-white → tinted near-black) is generated in OKLCH from it; the seed is preserved at its natural step.
sun
Seed colour (hex or oklch()). An 11-step numeric scale (50…950, tinted near-white → tinted near-black) is generated in OKLCH from it; the seed is preserved at its natural step.
rose
Seed colour (hex or oklch()). An 11-step numeric scale (50…950, tinted near-white → tinted near-black) is generated in OKLCH from it; the seed is preserved at its natural step.
New brand colour
Seed colour (hex or oklch()). An 11-step numeric scale (50…950, tinted near-white → tinted near-black) is generated in OKLCH from it; the seed is preserved at its natural step.
Colour roles

Which brand colour each purpose (primary, danger, …) uses.

neutral
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
surface
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
ui-primary
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
brand-primary
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
info
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
success
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
warning
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
danger
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
New colour role
The palette hue this role resolves to.
Kind
surface — a page/panel colour: gets a bare bg-<role> plus the full emphasis range and text scale. chromatic (default) — a signal colour: tints and solids only, no bare bg-<role>.
Text on this colour
Polarity of text-on-<role>, the foreground for a filled surface. Default is whichever of near-white / near-black has more contrast on the solid. Set "dark" so a bright fill carries dark text (or "light" for the reverse). The build still fails if the forced pair is below WCAG 2 4.5:1.
Font stacks

A stack names fonts to try in order. This does not load a webfont; declare one in the Astro fonts config.

display
sans
mono
New font stack
Type roles

Which font each kind of text uses: a font token like var(--font-display), or a font stack.

display
sans
code
New type role

Shadows and spacing

How raised things look and how wide and airy the layout is.

Shadows

Named shadows (sm, md, lg…) the shadow classes and raised surfaces use.

sm
box-shadow value: spread, inset and multiple layers allowed.drop-shadow() value: one layer, at most three lengths, no inset.
md
box-shadow value: spread, inset and multiple layers allowed.drop-shadow() value: one layer, at most three lengths, no inset.
lg
box-shadow value: spread, inset and multiple layers allowed.drop-shadow() value: one layer, at most three lengths, no inset.
New shadow
box-shadow value: spread, inset and multiple layers allowed.drop-shadow() value: one layer, at most three lengths, no inset.
Content widths

Content track widths for .centered. In ch so the reading measure stays character-based; keep measure ≤ breakout ≤ spotlight.

Reading column → --width-measure (framework default 65ch)..breakout track → --width-breakout (default 90ch)..spotlight track → --width-spotlight (default 120ch).Navigation column beside content → --width-nav (default 16rem).
Space between page regions

Vertical padding of .region: padding-block: clamp(min, preferred, max).

Floor → --region-space-min (default 3rem).Preferred value → --region-space (default 8vh).Ceiling → --region-space-max (default 8rem).

Accessibility

Accessibility

A summary of the accessibility requirements that apply to your business is not available here yet.
WCAG version (optional)
The WCAG version the target is measured against: wcag20, wcag21 or wcag22. Default wcag21. Pick the version a statute or contract names (Ontario AODA names 2.0); a later version is a superset, so a higher choice is stricter, not different.
Conformance level (optional)
The minimum conformance level the site is held to: none, A, AA or AAA. Unset, AA and AAA make a WCAG 2 contrast-ratio miss fail the build; A and none only warn (contrast is an AA criterion). vitops audit runs the axe tags for the chosen standard and level and fails on violations, except at none, where they are reported and never fail the run. This records a target, not a claim of conformance.
Free text recording who accepted a target below what applies to this site, when, and why (e.g. "Client accepted below AA until rebrand, per J. Smith, 2026-11-11"). Printed in the audit report header. Never read for logic.

Languages and address

Languages

The locale used when none is specified; must be a locales key.
Languages

Locales the site is published in, keyed by BCP 47 tag (e.g. "en", "fr").

en
Display name of the locale (e.g. "English").Site tagline in this locale.URL prefix for this locale (e.g. "/fr").
New language
Display name of the locale (e.g. "English").Site tagline in this locale.URL prefix for this locale (e.g. "/fr").

Website address

The canonical origin used for absolute URLs and SEO.

Privacy and legal

Privacy and legal

Governing jurisdiction (optional)
Which legal template set the generated documents use. Default ca.
Title of the person in charge of the protection of personal information (e.g. "President"). Quebec Law 25 requires the title and contact details to be published; the qc templates print it beside the privacyOfficer contact. Not asserted when absent.
Consent model (optional)
Consent model.

Integrations (optional)

Analytics

Microsoft Clarity project ID.

Notifications

Notifications

Where site notifications (form submissions, tracked calls) are sent. TODO: sms and persist channels — only email is implemented.

Where conversion notifications are e-mailed. A bare address is shorthand for { provider: "cloudflare", to }.Optional action-link template added to the conversion email (e.g. a link into your ad platform or your own CRM/portal). {clickId} is replaced with the ad click ID captured on _ac (gclid, fbclid, …). Omitted from the email when the event carries no click ID to interpolate, rather than rendering a broken link.

CRM

CRM (optional)
Which CRM this site pushes form submissions into.

Review

This page builds your site.json in the browser, so the preview and the validation below need JavaScript. Without it you can still read every field above; vitops init --site writes the same starter file.

Sample

Changes to colours, fonts, shadows and spacing show here and on the rest of this page as you make them.

ui-primarybrand-primaryinfosuccesswarningdanger

ui-primarybrand-primaryinfosuccesswarningdanger

Built with the design system it documents.

@getvitops on npm