Config reference
Every field of the three-section config — designSystem, organization and site — plus the full design-token schema. Browsable, filterable, and generated from the published JSON Schema.
Generated from config.schema.json and schema.json, the same schemasvitops validate checks against — so they always match validation. Every field is linkable by its dotted path: #site.analytics.clarityId, #colors.palette.
For what belongs in each section and when you need a config at all, start withYour config. Agents should read vitops docs config and vitops docs authoringinstead of this page.
Project config
The three sections of a project config. Token fields live under designSystem and are listed in full below, so this tree stops at the wrapper.
designSystemobjectrequiredThe design system: named themes plus the system-wide facts (which theme, which appearance). A bare design system, or a bare theme map, is accepted as shorthand for
{ themes: … }.themesmaprequiredNamed themes.
defaultis the base; others mayextendsanother and supply a partial patch. Light/dark is NOT a theme — the functional tokens flip per appearance within each one, sodefaultalready has both. Only the default theme is built today; multi-theme output and a picker are not wired yet.defaultThemestringWhich
themesentry to use (convention: "default"). Validated against the map; selecting a non-default theme is not wired yet.defaultColorSchemelight | dark | systemInitial appearance.
"dark"makes the site DARK-ONLY: the dark tokens become the:rootappearance (withcolor-scheme: dark), no light block ordata-themeflip is emitted, and the light-mode contrast checks are skipped — so a palette that only works dark (bright fills with dark text, for example) builds. Do not ship<wc-color-scheme-toggle>on such a site."system"follows the OS viaprefers-color-schemeand is what makes<wc-color-scheme-toggle>'s "System" position resolve to anything — it removes the theme attribute, so without this the page falls through to light. It also gives a no-JS page the OS appearance. Defaults to"light", because switching an existing site to"system"visibly flips it dark for dark-OS visitors.
organizationobjectThe company: schema.org Organization details for JSON-LD (name, legalName, logo, tax IDs, sameAs), plus its contact, physical locations, services and public profiles. These stay true across sites — several sites can share one
organizationand differ only insite.nameone ofTrading name, as a reader would recognise it (e.g. "Acme"). Localisable.
- one ofstring
- one ofmap
legalNamestringRegistered legal name (e.g. "Acme Widgets Inc."). The generated legal documents prefer this over
name— a policy is a statement by the legal entity.foundingDatestringDate the organization was founded (YYYY-MM-DD).
logoone ofOrganization logo → JSON-LD
logo.- one ofstring
one ofobject
srcstringrequiredaltstringrequiredwidthnumberheightnumber
emailstringGeneral contact address. Also the last fallback for privacy requests — see
contact.phonestringGeneral contact telephone number.
addressobjectRegistered/mailing address. Its
addressRegionandaddressCountryare what the governing-law clause of the generated terms of service defaults to.streetAddressstringStreet 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.
addressLocalitystringrequiredCity.
addressRegionstringState / province.
postalCodestringaddressCountrystringrequiredCountry (ISO 3166-1 alpha-2 preferred).
descriptionone ofOne or two sentences on what the organization does → JSON-LD
descriptionand a fallback for SEO. Localisable.- one ofstring
- one ofmap
taxIDstringTax identification number.
vatIDstringVAT identification number.
sameAsarray of stringProfile URLs → JSON-LD
sameAs(mirrorslinks).contactone ofPrimary contact: either a
locationskey (string reference) or an inline name/email/phone/address object.- one ofstring
one ofobject
namestringemailstringphonestringaddressobjectschema.org
PostalAddressfield names, so JSON-LD generation is lossless.streetAddressstringStreet 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.
addressLocalitystringrequiredCity.
addressRegionstringState / province.
postalCodestringaddressCountrystringrequiredCountry (ISO 3166-1 alpha-2 preferred).
primaryLocationstringThe main
locationskey (for JSON-LD and defaults).locationsmapPhysical locations (schema.org LocalBusiness): address, geo, opening hours, service area.
<name>objectslugone ofA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
nameone ofrequiredA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
emailstringphonestringaddressobjectschema.org
PostalAddressfield names, so JSON-LD generation is lossless.streetAddressstringStreet 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.
addressLocalitystringrequiredCity.
addressRegionstringState / province.
postalCodestringaddressCountrystringrequiredCountry (ISO 3166-1 alpha-2 preferred).
geoobjectlatitudenumberrequiredlongitudenumberrequired
hoursarray[items]objectdayOfWeekarray of Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sundayrequiredopensstringrequiredclosesstringrequired
hoursSpecialarrayHoliday/temporary hours, as dated deviations from the recurring
hours— distinct from it because these carry a date range rather than a weekday.[items]objectvalidFromstringrequiredvalidThroughstringopensstringclosesstring
typeLocalBusiness | Store | Restaurant | CafeOrCoffeeShop | ProfessionalService | MedicalBusiness | HealthAndBeautyBusiness | HomeAndConstructionBusiness | AutomotiveBusiness | FinancialService | LegalService | RealEstateAgent | Organizationdescriptionone ofA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
areaServedarray of stringpriceRangestringpaymentAcceptedarray of stringcurrenciesAcceptedstringknowsLanguagearray of stringphotosarrayLocation photos (logo, storefront, interior, …) → JSON-LD
image. Every listing platform (GBP, Bing Places, Apple Business Connect) wants these; none can derive them.[items]one of- one ofstring
one ofobject
srcstringrequiredaltstringrequiredwidthnumberheightnumber
sameAsarray of stringThis location's own profile URLs (its Google Business Profile, Bing Places listing, Apple Business Connect location, Facebook page, …) → JSON-LD
sameAs. Distinct fromorganization.sameAs, which is the company overall — a multi-location org's locations do not share one GBP listing.listingsmapExternal listing IDs for this location, keyed by platform — the Google Business Profile location id, the Bing Places business id, the Apple Business Connect location id. Not consumed by the generator today; recorded here so a future sync has a stable id to match against instead of risking a duplicate listing.
servicesmapServices offered (schema.org Service/Offer): name, description, slug, price offers.
<name>objectnameone ofrequiredA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
descriptionone ofA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
slugone ofA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
offersarray[items]objectnameone ofA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
pricestringnumberpriceCurrencystringavailabilitystringurlstringvalidFromstringpriceValidUntilstring
linksobjectPublic profile URLs (also feed JSON-LD
sameAsviaorganization.sameAs).googleMapsstringinstagramstringfacebookstringxstringlinkedinstringyoutubestringgithubstring
siteobjectrequiredThis published site: locales, domains, environments, content templates, SEO, analytics, legal documents, icons, favicon and deployment. Facts about a presentation of the organization rather than the organization itself.
defaultLocalestringrequiredThe locale used when none is specified; must be a
localeskey.localesmaprequiredLocales the site is published in, keyed by BCP 47 tag (e.g. "en", "fr").
<name>objectnamestringrequiredDisplay name of the locale (e.g. "English").
taglinestringSite tagline in this locale.
basePathstringURL prefix for this locale (e.g. "/fr").
domainsobjectCanonical domain + redirecting aliases.
canonicalstringrequiredThe canonical origin used for absolute URLs and SEO.
aliasesarrayAlias domains and how they redirect to the canonical one.
[items]objectdomainstringrequiredredirectTypenumber | number | number | numberrequiredredirectTostringrequiredenvironmentstring
dnsmapDesired DNS state per domain (provider, nameservers, records) — declarative reference, not applied automatically.
<name>objectproviderstringnameserversarray of stringrecordsarray[items]objecttypeA | AAAA | CNAME | TXT | MX | NS | SRV | CAA | PTR | SOArequirednamestringvaluestringrequiredttlintegerproxiedboolean
cloudflaremapDeliberate escape hatch for provider-specific Cloudflare settings — out of scope to model here.
googleobjectThis site's Google Cloud project. Not a secret — the credentials stay in the environment.
projectstringrequiredGoogle Cloud project id that API usage is attributed to (quota and billing). One project per site keeps usage separate — Search Console today, Maps and anything else later. Sent as
x-goog-user-project, which is required when the credential is a user one (an ADC login fromgcloud auth application-default login, orVITOPS_GOOGLE_*): those use a shared OAuth client that carries no project of its own. A service-account credential belongs to a project already, so this is not needed for it. The identity must holdserviceusage.services.useon the project, and the APIs being called must be enabled there.
searchConsolemapDomains to onboard as Google Search Console domain properties via
vitops search setup, keyed by bare hostname (mirrorsdns). Credentials come from the environment (CLOUDFLARE_API_TOKEN + the Google OAuth vars) — never in this file. Setgoogle.projectwhen using a user credential.<name>objectdelegatedOwnersarray of stringEmails added as verification owners on the Site Verification web resource. Automated via the API — additive and idempotent, never removes an existing owner.
fullUserGroupstringA Google Group to grant Full-User access in Search Console. SURFACED AS A REMINDER only: Search Console exposes no user/permission API, so this step stays manual by design.
environmentsmaprequiredDeploy environments (production, dev, …): URL, API origin, analytics toggle, robots policy, active A/B variant.
<name>objecturlstringrequiredPublic origin of this environment.
apistringAPI origin, when different from
url.analyticsbooleanWhether analytics fire in this environment.
adsbooleanWhether
site.adspixels fire in this environment. Defaults toanalytics, then true — a preview deployment sending pageviews is survivable, one firing conversion pixels is not, so this can be turned off on its own.robotsstringRobots policy (e.g. "noindex,nofollow" for dev).
variantstringActive
abTesting.variantskey for this environment.
planobjectCommercial plan/add-on entitlement, gating which capability fields below may be turned on. Absence means unrestricted.
keystringrequiredCommercial plan identifier (e.g. "essentials", "growth") — open string, not a closed enum.
addonsarray of stringAdd-on keys this site is entitled to (e.g. "ab_testing", "server_side_tracking") — checked against PLAN_CAPABILITIES.
abTestingobjectA/B testing: cookie-based split plus named variants whose
overridespatch the config per environment.enabledbooleanrequiredcookieNamestringcookieMaxAgeintegerSeconds.
splitRationumberFraction of traffic sent to the variant (0–1).
variantsmapNamed variants; each targets an environment and may deep-merge config
overrides.<name>objectenvironmentstringrequireddescriptionstringoverridesmap
experimentsmapRuntime, per-visitor content experiments — one config-schema-free page branches on a cookie the vitopsAbTesting() middleware assigns. Distinct from
abTesting, which merges a whole build/environment variant at resolve time; this instead lets one page (e.g. a real, nav-linked /contact) run a copy test without a second URL or a second deploy. Keyed by an open experiment name so more than one can run at once.<name>objectenabledbooleanrequiredcategoryanalytics | marketingConsent category this experiment's assignment cookie waits on (default
analytics) — independent ofsite.tracking.category, so an experiment never piggybacks on ad-attribution consent.cookieNamestringDefault
_ab_<experiment key>.cookieMaxAgeintegerSeconds.
splitRationumberFraction of new visitors auto-assigned to
variants[1](default 0.5). 0 means nobody is auto-assigned — a manually or query-param-set cookie still pins a visitor tovariants[1], which is what makes 0 a real blue/green-preview mode rather than a no-op.variantsarrayrequiredExactly two variant names, e.g. ["control", "new-form"].
variants[0]is the default a visitor with no assignment yet effectively sees.
fontsarrayFont LOADING (a serialisable projection of the Astro Fonts API: provider, weights, subsets, preload). Font TOKENS live in
designSystem.themes.<theme>.fontsand reference the samecssVariable.[items]objectnamestringrequiredprovidergoogle | fontsource | adobe | bunny | fontshare | googleicons | npm | localrequiredcssVariablestringrequiredweightsarray of number,stringstylesarray of normal | italicsubsetsarray of stringfallbacksarray of stringoptimizedFallbacksbooleandisplayauto | block | swap | fallback | optionalformatsarray of stringunicodeRangearray of stringvariantsarray[items]objectsrcarray of stringrequiredweightnumberstringstylenormal | italicunicodeRangearray of stringdisplayauto | block | swap | fallback | optional
preloadone ofEmit
<Font preload />for this family (true, or a list of weight/style faces).- one ofboolean
one ofarray
[items]objectweightnumberstringrequiredstylenormal | italic
tagsmapFree-form content-tag taxonomy (site-specific; not interpreted by the generator).
postTypesmapFree-form content-type definitions (site-specific; not interpreted by the generator).
galleriesmapNamed image galleries (title, tags, images with localisable alt/caption).
<name>objecttitleone ofA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
tagsarray of stringimagesarrayrequired[items]objectsrcstringrequiredaltone ofrequiredA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
captionone ofA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
testimonialsmapNamed testimonial groups (quote, name, role, rating, date).
<name>objecttitleone ofA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
itemsarrayrequired[items]objectquoteone ofrequiredA string, or a per-locale map of strings (
{ en: "…", fr: "…" }).- one ofstring
- one ofmap
namestringrequiredrolestringratingnumberdatestring
templatesmapNamed content templates rendered at SSR time:
nav(menu trees),form(field lists + submit), ornodes(raw element trees).chromeobjectPage furniture: the masthead (top bar — position, glass/transparent surface, inset/floating layout, shadow/border, and a partial look per scroll state) and how its navigation behaves at each width (compact drawer or dropdown, mega tier). Read by
<Masthead />and<SiteNav />viaresolveMasthead()/resolveNavOptions(); a prop overrides a field per layout.mastheadobjectThe top bar: position, scroll behaviour, surface, layout, elevation.
positionstatic | sticky | fixedstaticscrolls away;stickystays in flow and pins to the top;fixedis out of flow and overlays the first section (for a masthead over a hero). A masthead withstatesthat change its size, layout or visibility is promoted tofixed, because on a sticky bar a size change would reflow the page at the threshold. Defaultstatic.surfacesolid | glass | transparentsolid,glass(blurred + tinted via--surface-glass) ortransparent. Defaultsolid. For a bar that is clear at the top and solid after, setstates.atStart.surface: transparent.tonestringA
colors.roleskey, optionally<role>:solid, applied as the masthead.toneso text contrast stays the generator's guarantee.layoutfull | inset | floatingfullis flush to the viewport edges;insetleaves a gap to them;floatingis inset with a panel radius. Defaultfull.widthfull | contentcontentkeeps the masthead row on the page's.centeredtrack;fulllets it span the masthead. Defaultcontent.elevationobjectShadow and border.
shadowstringA
designSystem.shadowskey (e.g.sm). Omit for no shadow.borderbooleanA bottom border (a full outline when
layoutis notfull).
statesobjectHow the masthead looks in each scroll state, as partial overrides of the settled look:
atStart(page at the top),atEnd,scrollingToEnd(scrolling down),scrollingToStart(scrolling up); later states win. Animated. Usesscroll-state(); a browser without it (Firefox today) keeps the settled look. E.g.{ "atStart": { "layout": "full", "height": "6rem", "surface": "transparent" }, "scrollingToEnd": { "hidden": true } }with a settledlayout: inset.atStartobjectlayoutfull | inset | floatingLayout in this state, e.g.
fullat the top andinsetonce scrolled (set the settledlayouttoinset). Animated.heightstringRow height in this state. Same length grammar as the settled
height. Animated.insetstringGap to the viewport edge in this state (only meaningful for an
inset/floatinglayout). Animated.surfacesolid | glass | transparentSurface in this state, e.g.
transparentover a hero.elevationone offalseremoves the shadow and border;{ shadow }swaps the shadow.- one ofboolean
one ofobject
shadowstringA
designSystem.shadowskey (e.g.sm). Omit for no shadow.borderbooleanA bottom border (a full outline when
layoutis notfull).
atEndobjectlayoutfull | inset | floatingLayout in this state, e.g.
fullat the top andinsetonce scrolled (set the settledlayouttoinset). Animated.heightstringRow height in this state. Same length grammar as the settled
height. Animated.insetstringGap to the viewport edge in this state (only meaningful for an
inset/floatinglayout). Animated.surfacesolid | glass | transparentSurface in this state, e.g.
transparentover a hero.elevationone offalseremoves the shadow and border;{ shadow }swaps the shadow.- one ofboolean
one ofobject
shadowstringA
designSystem.shadowskey (e.g.sm). Omit for no shadow.borderbooleanA bottom border (a full outline when
layoutis notfull).
scrollingToEndobjectlayoutfull | inset | floatingLayout in this state, e.g.
fullat the top andinsetonce scrolled (set the settledlayouttoinset). Animated.heightstringRow height in this state. Same length grammar as the settled
height. Animated.insetstringGap to the viewport edge in this state (only meaningful for an
inset/floatinglayout). Animated.surfacesolid | glass | transparentSurface in this state, e.g.
transparentover a hero.elevationone offalseremoves the shadow and border;{ shadow }swaps the shadow.- one ofboolean
one ofobject
shadowstringA
designSystem.shadowskey (e.g.sm). Omit for no shadow.borderbooleanA bottom border (a full outline when
layoutis notfull).
scrollingToStartobjectlayoutfull | inset | floatingLayout in this state, e.g.
fullat the top andinsetonce scrolled (set the settledlayouttoinset). Animated.heightstringRow height in this state. Same length grammar as the settled
height. Animated.insetstringGap to the viewport edge in this state (only meaningful for an
inset/floatinglayout). Animated.surfacesolid | glass | transparentSurface in this state, e.g.
transparentover a hero.elevationone offalseremoves the shadow and border;{ shadow }swaps the shadow.- one ofboolean
one ofobject
shadowstringA
designSystem.shadowskey (e.g.sm). Omit for no shadow.borderbooleanA bottom border (a full outline when
layoutis notfull).
heightstringCSS length for the masthead row (default
4rem).calc(),clamp(),min()andmax()are accepted, so it can be fluid:clamp(3.5rem, 8cqi, 4.5rem).cqiresolves against the nearest size container (body, the same one the nav breakpoints use),vwagainst the viewport. Becomes--masthead-heightand, when the masthead is sticky or fixed,--header-offsetso in-page anchors land below it.insetstringGap between a
layout: insetorfloatingmasthead and the viewport edge (default0.75rem). Same length grammar asheight, e.g.clamp(0.5rem, 2cqi, 1.5rem). Ignored whenlayoutisfull. Becomes--masthead-insetand is counted in--header-offset.
backToTopone ofA floating back-to-top link, rendered by
<SiteFooter>, visible once the page has scrolled.truefor defaults. A browser withoutscroll-state()(Firefox today) shows it always.- one ofboolean
one ofobject
labelstringAccessible name and text. Default
Back to top.targetstringIn-page anchor to scroll to, e.g.
#top(default) or#main.
accessibilityobjectThe accessibility target this site is held to: a WCAG
standardand minimumlevel(none/A/AA/AAA), plus a recordedacceptedRisk. Sets whether a WCAG 2 contrast-ratio miss fails the build and whethervitops auditcan fail. A target, not a claim of conformance.standardwcag20 | wcag21 | wcag22The WCAG version the target is measured against:
wcag20,wcag21orwcag22. Defaultwcag21. 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.levelnone | A | AA | AAAThe minimum conformance level the site is held to:
none,A,AAorAAA. Unset,AAandAAAmake a WCAG 2 contrast-ratio miss fail the build;Aandnoneonly warn (contrast is an AA criterion).vitops auditruns the axe tags for the chosen standard and level and fails on violations, except atnone, where they are reported and never fail the run. This records a target, not a claim of conformance.contrastTogglebooleanSet
truewhen the site ships the high-contrast toggle (<ContrastToggle />/.contrast-toggle), WCAG technique G174: a visible control that switches to a conforming version. A baseline WCAG 2 contrast miss then only warns, provided the generated high-contrast layer (prefers-contrast: more/data-contrast="more") itself reaches 4.5:1 text and 3:1 non-text.vitops auditchecks the toggle is actually present. Defaultfalse: a miss fails the build at AA.acceptedRiskstringFree 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.
seoobjectSEO defaults: site name, title/description defaults, robots policy, verification tokens, Open Graph + Twitter cards, and post-deploy indexing notification. Read by
<Seo />,vitops robotsandvitops search notify.siteNameone ofog:site_name, and the<title>when a page passes none. Defaults toorganization.name, so most sites never state it.- one ofstring
- one ofmap
titleTemplateone ofPage-title pattern;
%sis the page title (e.g. "%s · Acme"). Applies to<title>only, never toog:title, and is skipped when the page title already equals the site name.- one ofstring
- one ofmap
defaultTitleone of<title>for pages that pass none. Used verbatim — the template is not applied. Defaults to the site name.- one ofstring
- one ofmap
defaultDescriptionone of<meta name="description">for pages that pass none.- one ofstring
- one ofmap
robotsstringSite-wide robots directive (e.g. "index,follow" / "noindex,nofollow").
site.environments.<env>.robotswins over it.googleSiteVerificationstringGoogle Search Console verification token (
<meta name="google-site-verification">).bingSiteVerificationstringBing Webmaster Tools verification token (
<meta name="msvalidate.01">).openGraphobjectOpen Graph defaults. Per-page
<Seo />props override them.typewebsite | article | profileDefault
og:type. Defaultwebsite.localestringog:locale.en-CAanden_CAboth emiten_CA.localeAlternatesarray of stringOther locales the same content exists in →
og:locale:alternate.imageone ofFallback share image for pages that bring none.
- one ofstring
one ofobject
srcstringrequiredAbsolute, or relative to
site(resolved at render time).altstringwidthnumberheightnumbertypestringMIME type, e.g.
image/png.
twitterobjectTwitter/X card defaults.
cardsummary | summary_large_image | app | playerCard type when no image resolves (default
summary).sitestringThe site's own handle, e.g. "@acme".
creatorstringDefault author handle, e.g. "@ada".
indexingobjectHow
vitops search notifytells search engines about a deploy: which sitemap, IndexNow key, Search Console property, and which pages to verify afterwards.sitemapUrlone ofThe sitemap(s) to submit and to diff for changed URLs — one URL, or a list when a site serves more than one (an EmDash site's
/sitemap.xmlplus thepages-sitemap.xmlvitops()writes forsrc/pagesroutes). Unset,search notifylooks for<canonical>/sitemap-index.xml(Astro),<canonical>/sitemap.xml(EmDash) and<canonical>/pages-sitemap.xmland uses whichever exist; listing URLs here turns that discovery off.- one ofstring
- one ofarray of string
indexNowobjectIndexNow submission (Bing, Yandex, Naver, Seznam, Yep — not Google). Omit to skip the channel.
keystringrequiredIndexNow key (8–128 chars, hex is conventional). NOT a secret — it is served publicly at
keyLocationso the engine can verify you own the host. Generate one withvitops search notify --new-key.keyLocationstringAbsolute URL of the key file. Defaults to
<canonical>/<key>.txt; set it only when the file lives elsewhere.endpointstringIndexNow endpoint (default
https://api.indexnow.org/indexnow). Any participating engine shares submissions with the rest, so one is normally enough.
searchConsoleobjectGoogle Search Console property. Needs a credential at run time — either a service account in
VITOPS_GSC_SERVICE_ACCOUNT/GOOGLE_APPLICATION_CREDENTIALS, or the user OAuth credentialvitops search setupuses (VITOPS_GOOGLE_CLIENT_ID/_CLIENT_SECRET/_REFRESH_TOKEN). The service account wins when both are set. Never put a key in this file.siteUrlstringrequiredThe property exactly as Search Console identifies it —
sc-domain:acme.cafor a domain property, or the URL-prefix formhttps://acme.ca/. A mismatch here is a 403, not a "not found".resubmitSitemapbooleanRe-submit the sitemap through the Search Console API on each notify (default true when
searchConsoleis set). This is the automated equivalent of the manual resubmit in the UI.
priorityUrlsarray of stringThe pages whose indexing actually matters.
vitops search notify --checkinspects these and exits non-zero if Google has not indexed one. Kept explicit because URL Inspection is quota-bound (2000/day), so checking every page is neither affordable nor informative.
analyticsobjectAnalytics provider IDs (gated per environment via
environments.<env>.analytics). Which provider is set is also what the generated privacy policy and cookie notice disclose — seelegal.googleAnalyticsIdstringplausibleDomainstringgoogleTagManagerIdstringclarityIdstringMicrosoft Clarity project ID.
matomoobjectMatomo instance.
urlstringrequiredInstance base URL (self-hosted, or
*.matomo.cloud).siteIdstringrequiredSite ID within that instance.
cookiesbooleanDefault false — Matomo runs cookieless (
disableCookies), which is what lets the cookie notice state positively that it sets none.abVariantDimensionsmapPre-created Matomo custom-dimension index per
site.experimentskey — Matomo requires the dimension to exist in the instance before a value can be pushed for it.
notificationsobjectWhere site notifications (form submissions, tracked calls) are sent. TODO:
smsandpersistchannels — onlyemailis implemented.emailone ofWhere conversion notifications are e-mailed. A bare address is shorthand for
{ provider: "cloudflare", to }.- one ofstring
one ofobject
providerstringrequiredDelivery provider. Only Cloudflare Email Sending is implemented; the field is stated so adding another is additive.
tostringRecipient. Defaults to the primary location’s
email, then the first location that has one.fromstringSender. Defaults to
noreply@<domains.canonical>. Its domain must be onboarded (wrangler email sending enable <domain>) or every send fails.fromNamestringDisplay name on the From header. Defaults to
organization.name.replyTostringReply-To header.
bindingstringWorkers
send_emailbinding name (defaultEMAIL). Set it when using a restricted binding.verifySenderbooleanSet false to skip
vitops email check's deploy-time onboarding warning for this site — for afromdomain the scan cannot see is correct (e.g. built dynamically), which would otherwise be a false positive.
actionUrlstringOptional 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.
trackingobjectAd-click attribution for conversion tracking.
enabledbooleanCapture ad click IDs and UTMs from the landing URL into the
_accookie, for attributing conversions.categorymarketing | analyticsConsent category the
_accookie waits on (defaultmarketing). It is a 90-day identifier tying a visitor to the ad that brought them, so it is only written once this category is granted — and asking for it is what raises the banner.platformsarray of stringInformational list of ad platforms in use. Capture recognises every known click-ID parameter regardless.
phoneNumbersobjectShow a visitor from an ad the tracking number for that platform instead of the real one. Swapped in by the capture script from the landing URL (immediately) or the
_accookie (later pages, oncemarketingis granted); the matchingtel:links are rewritten too. An organic visitor is never swapped. Needsenabled: true.numberstringrequiredThe real phone number exactly as the site displays it. Server-rendered HTML always carries this one, so crawlers, structured data and visitors without JavaScript see it.
sourcesmaprequiredTracking numbers keyed by ad platform (the
site.adsprovider names), each provisioned with a call-tracking provider and forwarding tonumber.default-paidis the fallback for a paid visit from a platform with no number of its own. Google needs no entry whensite.ads.google.callTrackingis set — Google supplies its own.providerstringThe call-tracking provider (e.g.
twilio,callrail). Informational, but it records callers’ numbers, so it must be named in the privacy policy — declare it insite.legal.privacyPolicy.processorsunless it is a known one.
adsmapAd properties this site is linked to, keyed by platform. Read by
vitops ads setup(ensure the DNS verification record),vitops ads tags(emit the consent-gated pixel), and the generated cookie notice (disclose what each pixel stores). Credentials never live here — the DNS write uses CLOUDFLARE_API_TOKEN from the environment.<name>objectaccountIdstringThe advertising account as the platform shows it — Google Ads customer ID, Meta ad account, LinkedIn partner ID, Reddit advertiser ID. For LinkedIn this is also the Insight Tag id; everywhere else the tag id is
pixelId.pixelIdstringThe tag/pixel ID the browser snippet initialises — Meta pixel, TikTok pixel, Reddit pixel, Microsoft UET tag ID, Pinterest tag ID, Snap pixel, or the Google Ads conversion ID (
AW-…, which is NOT the customer ID).conversionLabelone ofGoogle Ads only: the conversion action label(s) paired with the
AW-…conversion ID — the category (Phone call lead, Contact, …) is a property of the action in Google Ads, not of the tag call, so a wrong category can't be fixed from code; either one bare label (back-compat, treated as thecallaction) or a map of action → label, so a call, an email click and a form submission each fire their own Google Ads conversion action instead of all three reporting as the same one.- one ofstring
one ofobject
callstringFired on a tel: link click. Create the action in Google Ads with category "Phone call lead".
emailstringFired on a mailto: link click. Create the action in Google Ads with category "Contact".
formstringFired client-side by
vitopsFormConversion()— the consumer's own submit handler calls it once a form POST succeeds. Create the action in Google Ads with category "Submit lead form". Don't fire it from a success-page query parameter: that replays on refresh and the honeypot returns the same success page.
conversionActionIdone ofGoogle Ads only: the conversion action resource id(s) (a numeric id, or a full
customers/…/conversionActions/…resource name) used for server-side offline conversion upload — NOT the same value asconversionLabel, which is the opaque label the web tag uses and which the Ads API's upload endpoint does not accept. Only meaningful whenreporting: "server".- one ofstring
one ofobject
callstringFired on a tel: link click.
emailstringFired on a mailto: link click.
formstringFired on a form submission.
callTrackingobjectGoogle Ads only: website call conversions. The Google tag fetches a Google forwarding number for visitors who arrived from a Google ad and swaps it in for
number, so a phone call (not just atel:tap) is attributed to the click. Google decides who sees it; this toolchain also rewrites the matchingtel:links, which Google does not. Counts the same call asconversionLabel.callif both are primary — make one secondary in Google Ads. Any other platform has no equivalent: seesite.tracking.phoneNumbers.labelstringrequiredThe conversion action label of a separate Google Ads action of type "Calls from a phone number on your website" (not the
conversionLabel.callaction, which countstel:taps). Paired withpixelIdasAW-…/<label>.numberstringrequiredThe phone number exactly as the site displays it, e.g.
613-555-0100. Google swaps its forwarding number in only where the page text matches these digits, so a differently formatted number on the page is silently never replaced.cachebooleanSet false to stop Google caching the fetched forwarding number in a cookie (
phone_conversion_options.cache). Default true, so the number follows the visitor across pages.
reportingclient | serverGoogle Ads only:
"client"(default) fires the conversion viagtag.jsin the browser at click/submit time;"server"uploads it via the Ads API from the conversion endpoint instead (seeconversionActionId). An action with no matchingconversionActionIdkeeps firing client-side regardless of this setting, so setting it beforeconversionActionIdis filled in never silently drops a conversion.domainstringBare hostname to verify with this platform. Defaults to the host of
domains.canonical— set it only when the ad account is verified against a different domain.domainVerificationstringThe verification token from the platform UI, for the platforms that verify by DNS TXT (Meta, TikTok, Pinterest, Snapchat).
vitops ads setupprompts for it and writes it here on first run. NOT a secret — it is published in DNS, and the platform fetching it back is the ownership proof, exactly like the IndexNow key. A value containing=is used as the whole record, which is the escape hatch if a platform changes its prefix.categorymarketing | analyticsConsent category the tag waits on (default
marketing). An ad pixel is advertising by default;analyticsis for a site using one purely for its own measurement.enabledbooleanSet false to keep the property on record without emitting its tag.
reviewsobjectGoogle Business Profile reviews to cache and display, keyed by
organization.locations. Read byvitops reviews. Credentials never live here — a Google OAuth credential comes from the environment, same assite.searchConsole.accountIdstringDefault GBP account resource id (
accounts/…) for locations that do not override it.locationsmaprequiredWhich
organization.locationsto fetch Google reviews for, and how each one’s reviews are filtered/ordered.vitops reviewswrites the result to.vitops/reviews.json.<name>objectaccountIdstringGBP account resource id (
accounts/…), overridingsite.reviews.accountIdfor this location.locationIdstringrequiredGBP location resource id (
locations/…) to fetch reviews for.featuredarray of stringReview ids to always include, in this order, ahead of everything else automatically selected.
minRatingnumberDrop reviews below this star rating (default 4) from the automatic (non-featured) selection.
limitnumberKeep at most this many reviews after filtering.
sortrecent | ratingOrdering for the non-featured remainder (default
recent).
schemabooleanEmit
ReviewJSON-LD for these reviews (default false). Off by default: Google’s structured-data policy treats a business marking up reviews of itself as ineligible for review rich results, and risks a manual action.avatarsbooleanRender the reviewer’s Google-hosted avatar photo (default false). Off by default: every visitor would otherwise issue a third-party request to googleusercontent.com, and the URLs are not guaranteed to stay live.
crmobjectPush form submissions into a client CRM (HubSpot, Zoho Bigin, or Jobber) alongside the notification email. Read by
createConversionRoute()'scrmoption andvitops crm check/vitops crm setup. Credentials never live here.providerhubspot | bigin | jobberrequiredWhich CRM this site pushes form submissions into.
enabledbooleanSet false to keep the block on record without writing to the CRM.
hubspotobjectRequired when
providerishubspot.portalIdstringrequiredThe HubSpot portal (hub) ID the form belongs to.
formGuidstringrequiredThe HubSpot form GUID to submit against.
dataCenterna | euWhich regional submissions API to post to (default
na).
biginobjectRequired when
providerisbigin.dataCentercom | ca | eu | in | com.au | jprequiredThe self-client's data centre — determines both the OAuth accounts host and the API host (
www.zohoapis.<dc>).duplicateCheckFieldstringBigin field the upsert dedupes on (default
Email, Bigin's own unique field).pipelineobjectAlso open a Pipelines record alongside the Contact.
enabledbooleanrequiredAlso open a Pipelines record for the new/updated contact.
subPipelinestringSub-pipeline to file the record under.
stagestringStarting stage for the pipeline record.
jobberobjectRequired when
providerisjobber.apiVersionstringOverride the pinned
X-JOBBER-GRAPHQL-VERSIONdate this integration is tested against. An escape hatch for an app pinned to a different version — Jobber's schema can change field names between versions.dedupebooleanLook up an existing client by email before creating one (default false pending verification of Jobber's search API against a live schema — see AGENTS.md). Jobber's
clientCreatehas no upsert, so without this a resubmitting visitor creates a second client.noteobjectAttach a best-effort note carrying the submitted message and any attribution/extra fields with no dedicated Jobber field.
enabledbooleanAttach a best-effort note carrying the message and unmapped attribution (default true). A failure here never loses the client record itself.
fieldMapmapSubmitted form field name → CRM property name. A field with no entry here is dropped, not guessed — an unmapped field never reaches the CRM.
trackingFieldsmap_acattribution key (a click-ID param, a UTM param,landingPage,referrer, orab_variant) → CRM property name. Same drop-if-unmapped rule asfieldMap; a visitor with no_accookie maps to no attribution fields at all, never an error.
securityobjectSecurity integrations (bot protection).
turnstileobjectsiteKeystringCloudflare Turnstile site key (public).
legalobjectLegal pages: which documents exist, where they live, and the facts the generated prose asserts.
jurisdictionca | qcWhich legal template set the generated documents use. Default
ca.privacyPolicyobjectenabledbooleanrequiredurlstringlastUpdatedstringprivacyOfficerone ofWho privacy requests go to. Falls back to
contact, thenprimaryLocation.- one ofstring
one ofobject
namestringemailstringphonestringaddressobjectschema.org
PostalAddressfield names, so JSON-LD generation is lossless.streetAddressstringStreet 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.
addressLocalitystringrequiredCity.
addressRegionstringState / province.
postalCodestringaddressCountrystringrequiredCountry (ISO 3166-1 alpha-2 preferred).
privacyOfficerTitlestringTitle 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
qctemplates print it beside theprivacyOfficercontact. Not asserted when absent.impactAssessmentsbooleanAttests that a privacy impact assessment is carried out before personal information is communicated outside Quebec (Law 25, s. 17). The
qcprivacy policy states that assurance only when this istrue— a fact the config cannot otherwise know, so it is never assumed.retentionstringHow long personal information is kept, in prose (e.g. "24 months after last contact").
processorsarrayThird parties that receive personal information and cannot be inferred from the rest of the config (payment processors, CRMs, mail senders). Known providers implied by
analytics,securityanddeploymentare added automatically — list only the rest.[items]objectnamestringrequiredThe provider, as a reader would recognise it (e.g. "Stripe").
purposestringrequiredWhy they receive it, as a noun phrase that reads after "for" (e.g. "payment processing").
countrystringShorthand for the common case where one country is both where they store it and whose laws reach it: asserts BOTH
storage: [{ country }]ANDoperatorCountry. Reads inside a sentence (e.g. "the United States"). When the two differ — a Canadian region operated by a US company — statestorageandoperatorCountryinstead; setting this alongside either is rejected.storagearrayWhere the information actually rests. Feeds the "stored or processed outside of <jurisdiction>" disclosure and nothing else. Several entries are allowed, each optionally scoped to a category of information — which is what makes a Canadian-region tenant holding identity data in the US expressible.
[items]objectcountrystringrequiredA country or bloc where this provider stores or processes the information, as it should read in a sentence (e.g. "Canada", "the United States", "the European Union"). Naming the jurisdiction the policy is written for is meaningful: it says this information does not leave it.
scopestringWhich information is held there, as a noun phrase that reads after "in the case of" (e.g. "account and sign-in information", "mailbox contents"). Omit when this location holds everything the provider receives — a scoped entry claims LESS than an unscoped one, so omitting it is the safe default.
operatorCountrystringThe jurisdiction that can compel this provider to hand the information over — where it is established, or from which it is controlled. Reads after "the laws of" (e.g. "the United States"); a bloc is acceptable. A SEPARATE fact from
storage, because privacy law cares about foreign access, not only foreign storage: a Canadian-region service run by a US company isstorage: [{ country: "Canada" }]withoperatorCountry: "the United States".privacyUrlstring
termsOfServiceobjectenabledbooleanrequiredurlstringlastUpdatedstring | nullgoverningLawstringGoverning-law clause, in prose (e.g. "the Province of Ontario"). Defaults from the contact address.
accessibilityStatementobjectAn accessibility statement generated from this block and
site.accessibility(standard, level, high-contrast toggle). It asserts only what is declared: no conformance claim withoutconformanceandtestedOn, andacceptedRiskis never printed. Rendered byvitops legal --doc accessibility.enabledbooleanrequiredurlstringlastUpdatedstringlawaodaThe accessibility statute the statement cites.
aoda(Accessibility for Ontarians with Disabilities Act) is the only member today. AODA wording is printed only when this is set, so a client outside Ontario never gets a statutory claim that is not theirs.mandatorybooleanThe organization is legally required to conform (for AODA: 50 or more Ontario employees, or a public sector organization). The statement then says conformance is required rather than a goal. Not inferred from headcount: statute thresholds are not encoded here (see the
vitops-accessibilityskill for the tiers).conformancefull | partialThe site is fully or partially conformant with the target in
site.accessibility. When unset the statement makes no conformance claim, only a goal. A claim needstestedOn, andfullcannot be combined withlimitations.testedOnstringWhen the site was last tested. Required for any
conformanceclaim.testingarray of automated | keyboard | screen-reader | external-auditHow it was tested:
automated,keyboard,screen-reader,external-audit.auditorstringWho ran an external audit, when
testingincludesexternal-audit.limitationsarrayReal, current accessibility problems. Only list what is true today. An empty or absent list prints "we are not aware of any current issues".
[items]objectcontentstringrequiredWhat is affected, in plain words.
issuestringrequiredWhat goes wrong, in plain words.
alternativestringHow a person gets the same thing another way.
plannedFixstringWhen or whether it will be fixed.
testedWithobjectOverrides the browsers and assistive technology the statement lists as tested. The template has defaults; state only what was actually tested.
browsersarray of stringassistiveTecharray of string
formatsarray of stringAccessible formats offered on request, as plain nouns (
large print,accessible PDF,plain text).supportsarray of stringCommunication supports offered (
captioning,sign language interpretation).inPersonstringWhere and when a person can ask in person.
responseDaysintegerBusiness days within which a request or piece of feedback is answered. Used for both.
contactone ofWho accessibility requests and feedback go to: an
organization.locationskey, or an inline contact. Falls back toorganization.contact, then the primary location, then the organization email and address. Offer more than an email address.- one ofstring
one ofobject
namestringemailstringphonestringaddressobjectschema.org
PostalAddressfield names, so JSON-LD generation is lossless.streetAddressstringStreet 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.
addressLocalitystringrequiredCity.
addressRegionstringState / province.
postalCodestringaddressCountrystringrequiredCountry (ISO 3166-1 alpha-2 preferred).
feedbackUrlstringAn accessibility feedback form. Must itself be accessible and never the only route.
feedbackOwnerstringThe role or team that reads feedback (
our web manager).policiesarrayAccessibility policies and plans published on the site. Without a
urlthe title is listed as available on request.[items]objecttitlestringrequiredThe document name, which becomes the link text and so must make sense on its own (no "click here").
urlstring
policiesOnRequestbooleanPolicies are available on request but not posted. Ignored when
policiesis set.reviewCadenceannually | semi-annually | quarterlyHow often the statement is reviewed.
cookieConsentobjectenabledbooleanrequiredtypeopt-in | opt-outConsent model.
positiontop | bottom | centercategoriesarray of string
iconsmapIcon sets and the specific icons to bundle from each (keys are iconify collection names).
uistringIcon set used for UI chrome (e.g. "lucide", "ph").
brandstringIcon set used for brand marks.
weightstringWeight for suffix-weighted sets like Phosphor ("regular" | "bold" | "duotone" | "fill" | "light" | "thin"). Ignored by sets that split weights across collections, e.g. Font Awesome.
spritebooleanEmit an SVG sprite (icons.svg) alongside the stylesheet, for consumers that cannot run an icon integration (Bricks/WordPress, EmDash renderers).
semanticarray of stringNamed semantic icons to include.
fa7-solidarray of stringfa7-regulararray of stringfa7-lightarray of stringfa7-thinarray of stringfa7-brandsarray of stringsimple-iconsarray of stringmaterial-symbolsarray of stringlucidearray of stringpharray of string
faviconobjectFavicon/PWA asset generation (consumed by
@getvitops/utilsfavicon tooling).sourcestringrequiredSource image (SVG/PNG) the favicon set is generated from.
lowResSourcestringAlternate source for small raster sizes (16/32px) when the main source scales down poorly.
namestringApp name for the generated web manifest. Setting this AND
themeColoris what makes the site installable: together they emitsite.webmanifest(withdisplay: "standalone") and link it. Neither alone does anything. A marketing site that does not want a browser offering to install it should leave one of them unset.themeColorstringBrowser UI colour, emitted as
<meta name="theme-color">on every page — so it applies with or without a manifest. Note it is also half the manifest switch: seename.backgroundColorstringBackground composited under the OPAQUE generated icons —
apple-touch-icon.pngand the maskableicon-mask.png— which are produced whether or not there is a manifest. Defaults to white, so a dark logo on a transparent source needs this set. It is also the manifestbackground_colorwhen one is emitted, but it is not manifest-only.
deploymentobjectHow the site is built and deployed (platform, commands, output directory) — informational for tooling.
platformstringbuildCommandstringdeployCommandstringoutputDirectorystringtypestringrepostringowner/nameof this site's GitHub repository. Read by the EmDash design-system-editor plugin route to auto-commit a client's admin edit back tobranch— see AGENTS.md's "EmDash plugin as the design-system editing surface" section. Absent means that sync is skipped (the live override still applies); nothing else in this toolchain reads it today.branchstringBranch the design-system-editor sync commits to. Default
"dev"— nevermain/production directly; a commit here still needs this repo's ownpromotePR + admin approval to reach production, the same gate every other change goes through.
Design tokens
Every field of a design system — what designSystem.themes.<name> holds, and what a standalone design-system.json contains on its own.
metaobjectBrand identity for agent-facing output. Consumed only by the
designformat (DESIGN.md); it emits no CSS and no tokens.namestringBrand/system name. Used as the
namefield and<h1>of thedesignformat'sDESIGN.md. Defaults to "Design System".descriptionstringOne or two sentences on the brand personality and the feeling the UI should evoke — what an agent needs when no token answers the question. Becomes the DESIGN.md
descriptionfield and opens its Overview section; if omitted, a generic description of the system's mechanics is used instead.
colorsobjectrequiredThe colour system (the only required section):
palettehues become generated OKLCH scales;rolesmap semantic roles onto those hues, from which all role tokens and dark mode derive.palettemaprequiredPalette hues by name. Each becomes an 11-step numeric OKLCH scale (
--color-<hue>-50…950). Every ramp shares one fixed lightness ladder, so a step means the same lightness in every hue; only chroma and hue vary. Beyond the outermost authored colour the chroma decays towards a small endpoint value (0.008 light / 0.015 dark) so the near-white and near-black ends keep a whisper of the hue — but that is a ceiling, not a target, so a low-chroma seed stays low and a chroma-0 seed gives a true neutral rather than a tinted one. The ladder is also enforced: if pinned colours leave a ramp non-monotonic (some step darker than the one below it), the build fails rather than shipping a scale whose hover states run backwards.<name>one ofA palette hue, authored one of two ways:
{ seed, anchors? }generates an 11-step numeric OKLCH scale (50…950) from the seed, or{ tones }supplies a fixed brand kit used verbatim.one ofobject
Seeded hue: the 11-step scale is GENERATED in OKLCH from
seed(anchors pin specific steps).seedstringrequiredSeed 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.
anchorsmapStep → colour overrides (hex or oklch()) pinned VERBATIM at those steps. Every other step takes its lightness from the shared ladder, with chroma and hue interpolated between the anchors — so an anchor is reproduced exactly and is the only step allowed off the ladder. An explicit anchor overrides the seed at that step; two anchors that resolve to the same step are an error.
acknowledgeOffLadderbooleanAcknowledge that this hue deliberately pins colours off the shared lightness ladder (typically to match an existing brand palette exactly). Silences the per-step "off the ladder" build warnings for THIS hue only; the monotonicity and contrast checks still run.
one ofobject
Fixed hue: authored brand tones used verbatim; no generation.
tonesone ofrequiredFixed brand kit: authored tones placed verbatim at their nearest steps plus tinted off-white/off-black endpoints; no interpolation. Either an ordered light → dark array or a step → colour map.
- one ofarray of string
- one ofmap
acknowledgeOffLadderbooleanAcknowledge that this hue deliberately pins colours off the shared lightness ladder (typically to match an existing brand palette exactly). Silences the per-step "off the ladder" build warnings for THIS hue only; the monotonicity and contrast checks still run.
rolesmaprequiredMaps semantic role names onto palette hues. Role names are ARBITRARY — add a key and the generator emits that role's token set (
--color-<target>-<role>[-<variant>]for target bg/text/icon/border), its dark-mode flip and its utility classes. A value is either a hue name ("danger": "rust") or{ "hue": …, "kind": "surface" | "chromatic" }. The kind decides the shape of the token set.chromatic(the default, and what the bare-string form means) is a signal colour: its backgrounds split into tints (bg-<role>-x-muted/-muted) and solids (bg-<role>-solid[-bold|-x-bold]), with deliberately no barebg-<role>— "how loud?" is a question the author answers.surfaceis a page/panel colour: it has a barebg-<role>plus the full emphasis range and text scale. Dark mode flips automatically; there is no per-appearance scheme grammar. The solid family and its computedtext-on-<role>foreground stay mode-stable so a filled button keeps its identity. Contrast is enforced at build time, in both appearances (WCAG 2 contrast ratio): text, including muted text (text-muted), ≥ 4.5:1 against the plane it sits on, icons and guaranteed boundaries ≥ 3:1, andtext-on-<role>≥ 4.5:1 on the role's solid. So a mockup's muted grey that lands near 4.2:1 fails the build — lighten the anchor on a dark page (or darken it on a light one) until it clears 4.5.site.accessibility.levelAornonedowngrades a miss to a warning.text-x-muted/text-xx-mutedare exempt (placeholders, disabled). A role can move its fill off the default step 600 withsolid, and pin the polarity of its on-colour withforeground; a dark-only site (defaultColorScheme: "dark") is only checked in dark. Six roles are a required core, because the shipped framework CSS references them with no fallback: brand-primary, danger, neutral, surface, ui-primary, warning. Conventional additions are ui-secondary/accent, brand-secondary, info and success.<name>one of- one ofstring
A palette hue name. Shorthand for
{ hue, kind: "chromatic" }. one ofobject
huestringrequiredThe palette hue this role resolves to.
kindsurface | chromaticsurface— a page/panel colour: gets a barebg-<role>plus the full emphasis range and text scale.chromatic(default) — a signal colour: tints and solids only, no barebg-<role>.solidnumberstringRamp step (100…900) the role's solid family starts from; default 600.
bg-<role>-solidis this step and-solid-bold/-solid-x-boldwalk one and two rungs DARKER, sosolid: 400gives 400 → 500 → 600. Use it when the brand colour is bright and lives lower on the ramp (a yellow at 400) instead of reaching for rawbg-<hue>-<step>classes. Like the default family it is the same in light and dark. The contrast check still runs on the pair this produces.foregroundlight | darkPolarity 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.acknowledgeContrastnumberAcknowledge a near miss on this role: a pairing that falls short of its WCAG 2 ratio bar by no more than this many ratio points is reported as a build warning instead of failing the build (e.g.
0.1for a brand colour that lands at 4.4:1 against 4.5:1). A larger shortfall still fails. Applies to this role only.
- one ofstring
tintobjectDerive the surface tint of a toned block (callout, card panel, band) from the role's solid instead of its
mutedstep. Off by default. The generator's contrast contract does not cover it: a translucent mix over an arbitrary page is not a pairing it can check, so keep the share low.mixstringrequiredShare of the role solid in the tint, e.g.
"8%". Emits.tone { --tone-tint: color-mix(in oklab, <solid> <mix>, transparent) }.
utilitiesarray of bg | text | icon | border | outline | fill | strokeWhich colour utility-class families to emit (
bg-*,text-*,icon-*,border-*,outline-*,fill-*,stroke-*). Defaults to bg, text, icon, border.iconis a separate non-text tier (a glyph may run more vivid than text);outline/fill/strokehave no tokens of their own and alias the border and icon tiers.
shadowsmapNamed shadows →
--shadow-<name>tokens and.drop-shadow-<name>utilities. A value is either a string (below) or{ "box"?: string, "drop"?: string }for a shadow that needs the two grammars to differ:boxis what--shadow-<name>holds and whatbox-shadowconsumers (pattern geometry,--ds-*) read, so it MAY use spread,insetand several layers;dropis emitted as--shadow-<name>-dropand is what.drop-shadow-<name>and theshadow:state shortcut read, so it must obey the drop-shadow() limits. Omitdropand no drop-shadow utility is emitted for that name; omitboxand--shadow-<name>takes thedropvalue. The plain string form keeps working and feeds both consumers from one value. For that string form: each token feeds two consumers with different grammars —box-shadow(pattern geometry, via the--ds-*group aliases) andfilter: drop-shadow(…)(the utilities and theshadow:state shortcut) — so values must stay in the intersection: one layer, no spread radius, noinset.drop-shadow()rejects all three, and rejecting them invalidates the whole filter, so the shadow vanishes rather than degrading.<name>one of- one ofstring
one ofobject
boxstringbox-shadowvalue: spread,insetand multiple layers allowed.dropstringdrop-shadow()value: one layer, at most three lengths, noinset.
fontsmapRaw font stacks by name, emitted as
--font-<name>tokens (referenced bytypography.families). Stacks only — vitops does not load webfonts. A value here is afont-familylist and nothing more: it emits no@font-face, no preload, and no metrics-matched fallback. If a family needs loading, declare it in Astro'sfonts:config (astro.config, or the site config'sfontsarray) and point the token at the family'scssVariable—"display": "var(--font-league-spartan), sans-serif". Installing a@fontsource*package and importing its CSS also works but gives up subsetting, preload andsize-adjust/ascent-overridefallbacks, so it regresses CLS.typeScaleobjectFluid modular TYPE scale →
--text-<name>tokens, consumed by typography roles and text-size utilities. Recipe for marketing headings: one ratio cannot serve both a ~16px body and a ~76px hero — a ratio big enough for the hero collapses the small end to unreadable. Extendnamesupward instead of raising the ratio: keepbase≈ "1rem" at the body step,ratio≈ 1.2 atmaxVw(≈ 1.125–1.15minRatioatminVwso headings tame on phones), and add names (4xl,5xl) for the display sizes — the steps abovebaseStepare what headings read, the steps below it only needxs/sm. Aim the largest named step at your hero (≈ 4.5–5rem atmaxVw), then point thedisplay/titleroles at those steps rather than hand-writingclamp()in a role. If a step still needs its own value, set that role'ssizeliterally — roles may bypass the scale.basestringrequiredAnchor size (a CSS length, e.g. "1rem") — the value at
baseStep.rationumberrequiredModular ratio between adjacent steps at large viewports.
stepsnumberToken count when
namesis absent (steps are then named 1..steps).namesarray of stringStep names, smallest → largest (e.g. ["xs","sm","md",…]); each becomes a token suffix.
baseStepnumber1-based index of the step whose value is
base.baselinestringNamed step used as the fluid pivot / GUI scale centre (defaults to
baseStep).fluidobjectMakes the scale fluid: each step compiles to a clamp() that interpolates from
minRatioatminVwtoratioatmaxVw.minVwstringrequiredViewport width (CSS length) where fluid scaling bottoms out.
maxVwstringrequiredViewport width (CSS length) where fluid scaling tops out.
minRationumberrequiredModular ratio at/below
minVw(usually <ratio).
layoutobjectOptional layout tokens. Each key you set is emitted as a
:rootcustom property (css, bricks and tailwind formats); each you omit keeps the framework default. Lets the live editor tune widths and region spacing instead of a hand-written override stylesheet.widthsobjectContent track widths for
.centered. Inchso the reading measure stays character-based; keep measure ≤ breakout ≤ spotlight.measurestringReading column →
--width-measure(framework default 65ch).breakoutstring.breakouttrack →--width-breakout(default 90ch).spotlightstring.spotlighttrack →--width-spotlight(default 120ch).
regionSpaceobjectVertical padding of
.region:padding-block: clamp(min, preferred, max).minstringFloor →
--region-space-min(default 3rem).preferredstringPreferred value →
--region-space(default 8vh).maxstringCeiling →
--region-space-max(default 8rem).
spaceScaleobjectFluid modular SPACE scale →
--space-<name>tokens, consumed by spacing/gap utilities and vertical rhythm.basestringrequiredAnchor size (a CSS length, e.g. "1rem") — the value at
baseStep.rationumberrequiredModular ratio between adjacent steps at large viewports.
stepsnumberToken count when
namesis absent (steps are then named 1..steps).namesarray of stringStep names, smallest → largest (e.g. ["xs","sm","md",…]); each becomes a token suffix.
baseStepnumber1-based index of the step whose value is
base.baselinestringNamed step used as the fluid pivot / GUI scale centre (defaults to
baseStep).fluidobjectMakes the scale fluid: each step compiles to a clamp() that interpolates from
minRatioatminVwtoratioatmaxVw.minVwstringrequiredViewport width (CSS length) where fluid scaling bottoms out.
maxVwstringrequiredViewport width (CSS length) where fluid scaling tops out.
minRationumberrequiredModular ratio at/below
minVw(usually <ratio).
patternsobjectComponent patterns and their token cascade:
defaults→groups→ per-patternoverrides, plus shape (radii) and z-index primitives.defaultsmapCascade-wide fallback tokens, emitted as
--<prop>-default.radiimapShape primitives, emitted as
--br-<name>(referenced by pattern bases).groupsmapGroup-level tokens, emitted as
--<prop>-<group>; patterns opt in via theirgroupkey.<name>mapA CSS declaration block: property → value. Values stay strings (they can be hex, var(), clamp(), keywords, …); the generator, not the schema, interprets them.
zmapZ-index tiers →
--z-tier-<name>.itemsmapThe component patterns to emit, keyed by name.
<name>objectOne component pattern (button, link, badge, card, …): base declarations + interaction states + semantic role variants, resolved through the pattern token cascade.
groupstringToken-cascade group this pattern belongs to (e.g. tag / control / panel); base declarations resolve through
--<prop>-<group>before--<prop>-default.overridesmapPer-pattern token overrides, emitted as
--<prop>-<name>-groupvalues.elementstringStyle at element level via zero-specificity
:where(<element>)(instead of, or alongside, a class).classstringClass name to emit (defaults to the pattern's key when no
elementis set). Combined withelement, the pattern emits one zero-specificity:where(<element>, .<class>)rule so the class works on any tag and any explicit class overrides it.fillbooleanWhether this pattern is colour-filled (states/roles drive
background-color+on-solidtext) or text-coloured (they drivecolor). Defaults to true whenbasedeclares a background.default_rolestringSemantic colour role applied to the bare/default variant.
basemapBase CSS declarations. Geometry properties (padding, border-radius, border, box-shadow, font-size) are wrapped in per-pattern override hooks (
--p-<name>,--br-<name>,--b-<name>,--ds-<name>,--fs-<name>) so consumers can restyle one pattern by setting one variable.statesmapInteraction states (hover / active / focus-visible), each a map of shortcuts:
step(intensify the fill or text by n rungs —bg-<role>-solid→-solid-bold,text-<role>→-bold),scale(transform scale),lift(translateY + shadow),shadow(a shadow name → drop-shadow(var(--shadow-<name>)), or true → lift shadow),ring(focus ring), or rawcssdeclarations. Hover rules are wrapped in@media (hover: hover).rolesarray of stringSemantic colour role variants to emit as
<pattern>-<role>classes (fills use the role solid / on-solid tokens).
typographyobjectTypography: family aliases, semantic type roles (→
font-<role>classes), and the bare-element → role mapping.familiesmapRole-facing family aliases → CSS font values, usually referencing the top-level
fontstokens (e.g. "var(--font-display)").rolesmapSemantic type roles (display, title, heading, body, quote, caption, eyebrow, code, lead, footnote, tag, …), each emitted as a
font-<role>class.<name>mapA bag of CSS-ish keys, each mapped to a declaration plus a
--<role>-<sfx>override hook. The recognised set is closed:family,size,weight,style,line-height,tracking(→letter-spacing),text-transform,text-decoration,text-wrap,color. The canonical spellings of the last four are their full CSS property names (text-transform,text-decoration, …);transformanddecorationare accepted as aliases of the first two and normalised to them. Anything unrecognised is ignored, not passed through, so the generator warns rather than emitting it: a silently-dropped key (a typo fortext-transform, say) is how title-case navigation reaches production. Note also thatstyle,text-transform,text-decorationandtext-wrapare emitted on every role at their identity value (normal/none/none/wrap) whether declared or not, so applying one role class over another fully resets it — which means omittingtext-wrapis not "inherit": it emitstext-wrap: wrapand cancels theprettythe role would otherwise inherit from aprettyancestor such as abody-mapped role. Declare it on every role —balancefor heading-like roles,prettyfor copy,wrapfor short single-line labels.
headingsmapMaps bare elements to type roles so unclassed markup picks up role styling —
{ "h1": "display", "h2": "heading" }. The key is used verbatim as a selector, so it is not limited to h1…h6: map"body"to your prose role to bind base page typography to the role rather than hand-writing it. That binding is what makes the role editable — a stylesheet that re-statesfont-family/line-heightas literals onbodyshadows--<role>-ff/--<role>-lh, and the live theme editor then appears to do nothing.
animationsobjectAnimation effect + journey classes (pure value layers). The animation engine itself — keyframes, drivers, floats, utilities — is static framework CSS, not configured here.
effectsmapEffect classes to emit (
.fade-in,.reveal-left, …), keyed by class name.<name>objectA named animation effect class — a pure value layer (
--_anim+--<prop>-from/-to) over the static keyframe engine.kfstringrequiredKeyframe family driving the effect: composite (transform/opacity), paint, or layout.
cssmapExtra literal declarations merged into the effect class as-is.
varsmapEffect endpoint variables (
--<key>: <value>, e.g. opacity-from, translate-y-to) that override the keyframe defaults.
journeysobjectMulti-part journey classes composed from
basebuilding blocks.basemapNamed journey building blocks: part name → var map.
composearray of arrayCombinations of base parts, each emitted as a
.<parts>-journeyclass.