+The published site uses link:https://github.com/antora-supplemental/antora-dark-theme[antora-supplemental/antora-dark-theme] as the base Antora UI bundle (`ui.bundle.url` in the playbook; use the `releases/latest/download/ui-bundle.zip` asset). FoodTruckNerdz layers custom partials, CSS, and scripts on top via `site/supplemental-ui/`. The `package.json` `prebuild` step runs `site/scripts/sync-antora-dark-theme.cjs`, which copies `site-extra.css` and `img/` from the `antora-dark-theme` npm package into that folder, because Antora accepts only a single `ui.supplemental_files` path. The dark-mode script in `site/supplemental-ui/js/site-dark-mode.js` is **maintained in this repository** in lockstep with **antora-dark-theme 1.0+** (system / override behavior); bump the `antora-dark-theme` devDependency after the package is published, then `pnpm install`.
0 commit comments