Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Top-level cssVars are applied to current page layout scope only.
No global document-root style mutation is allowed for these keys.
Primary focus: top-level page-scoped CSS variable contract.
The YAML below is the exact full frontmatter used by this page. Copy it to reproduce the same result.
---
layout: home
cssVars:
--vp-home-hero-name-color:
light: "rgba(220, 134, 76, 0.48)"
dark: "rgba(199, 205, 219, 0.48)"
hero:
name: "Hero Runtime"
text: "Level 3"
tagline: "Page-scoped cssVars should only affect this page scope."
actions:
- theme: brand
text: "Single Background"
link: /en-US/hero/matrix/backgroundSingle/
features:
- title: "Page Scope"
details: "Top-level cssVars are applied to current page layout scope only."
- title: "Non-Global"
details: "No global document-root style mutation is allowed for these keys."
---| Key | All Config |
|---|---|
hero.name, hero.text, hero.tagline | |
hero.layout.viewport | |
hero.actions[] | |
page-level cssVars |
This page focuses on core hero information architecture and page-level styling variables.
Primary contract area: hero root fields (hero.name\|text\|tagline\|actions\|layout\|cssVars).
| Topic | Guidance |
|---|---|
| Primary fields | hero.name, hero.text, hero.tagline, hero.actions[] |
| Layout control | hero.layout.viewport controls full-screen framing |
| Styling scope | cssVars is page-scoped and affects this page only |