antora-dark-theme
v0.1.3
Published
Dark mode supplemental UI theme for Antora documentation sites
Maintainers
Readme
Antora Dark Theme
Dark mode supplemental UI for Antora documentation sites.
Install
pnpm add -D github:the-dev-center/antora-dark-themeThen configure your antora-playbook.yml:
ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
supplemental_files: ./node_modules/antora-dark-theme/supplemental-uiFeatures
- Dark mode toggle button (sun/moon icons)
- System preference detection
- Persistent preference via localStorage
- No flash of unstyled content (FOUC)
- Works with Antora Default UI — no fork required
Documentation
Full documentation and live demo: https://the-dev-center.github.io/antora-dark-theme
