/* Layout and accent tokens for the docs shell (the components pages). Colors, type and motion
   come from the shared Vanilla tokens in /tokens.css. */
:root {
  --vn-docs-hdr-h: 72px;
  --vn-docs-icon: 48px; /* header logo */
  --vn-docs-action: 40px; /* the icon group on the right (sections, GitHub, sun/moon) */
  --vn-docs-bar-h: 1px;
  --vn-docs-chrome-h: calc(var(--vn-docs-hdr-h) + var(--vn-docs-bar-h)); /* menus and sticky columns start at the header's bottom edge */
  --vn-docs-hdr-alpha: 70%; /* how solid the header is over scrolling content (light) */
  /* Same frame as Badge's Develop and Use pages (landing/developers/developers.css). */
  --vn-docs-side-w: clamp(150px, 19vw, 232px);
  --vn-docs-text-w: 680px;
  --vn-docs-page: var(--vn-color-bg); /* the page background in tokens.css: pure white in light */
  --vn-docs-frame-w: calc(var(--vn-docs-side-w) + 28px + var(--vn-docs-text-w) + 20px);
  --vn-docs-line-hover: color-mix(in srgb, var(--vn-color-ink) 24%, var(--vn-color-line));
}

html[data-scheme="dark"], html[data-theme="dark"] { --vn-docs-hdr-alpha: 88%; } /* night mode: more solid, so the icons stay readable */
