/* Model B: the full app palette (--bg/--fg/--accent/--code-surface/etc.) is set
   per skin by /chroma.css?style=<name> (derived from the Chroma theme). This
   file only re-points github-markdown-css's Primer colour tokens at that palette
   so markdown prose follows the skin while keeping GitHub's typography.

   The generic rule is qualified with html[data-skin] so it outranks
   github-markdown-css's own ".markdown-body { --token }" definitions. The github
   skins pin GitHub's exact token values so they render pixel-identical to
   upstream (incl. the #151b23 code box). */
html[data-skin] .markdown-body {
  --bgColor-default: var(--bg);
  --fgColor-default: var(--fg);
  --fgColor-muted: var(--muted);
  --bgColor-muted: var(--code-surface);
  --bgColor-neutral-muted: var(--code-surface);
  --borderColor-default: var(--border);
  --borderColor-muted: var(--border);
  --fgColor-accent: var(--accent);
}
html[data-skin="github"] .markdown-body {
  --bgColor-default: #ffffff; --fgColor-default: #1f2328; --fgColor-muted: #59636e;
  --bgColor-muted: #f6f8fa; --bgColor-neutral-muted: #818b981f;
  --borderColor-default: #d1d9e0; --borderColor-muted: #d1d9e0b3; --fgColor-accent: #0969da;
}
html[data-skin="github-dark"] .markdown-body {
  --bgColor-default: #0d1117; --fgColor-default: #f0f6fc; --fgColor-muted: #9198a1;
  --bgColor-muted: #151b23; --bgColor-neutral-muted: #656c7633;
  --borderColor-default: #3d444d; --borderColor-muted: #3d444db3; --fgColor-accent: #4493f8;
}
