antora-dark-mode
v1.3.0
Published
Dark mode supplemental UI for Antora — slot-based overlay, toggle, FOUC prevention, and CSS overrides.
Maintainers
Readme
antora-dark-mode
Dark mode supplemental UI for Antora — overlay install or slot-based ui-module.
Does not occupy ui.bundle when mixed with valentus or other themes. See Installation.
Install (overlay — recommended)
pnpm add -D antora-dark-modeui:
bundle:
url: https://github.com/antora-supplemental/valentus-theme/releases/download/v1.1.0/ui-bundle.zip
snapshot: true
supplemental_files: ./site/supplemental-ui # merge node_modules/antora-dark-mode/supplemental-uiFor slot-based installs (no partial collisions), see UI Modules.
Convenience bundle (Default UI only)
Pre-merged ui-bundle.zip — quick start when you do not use another theme in ui.bundle:
ui:
bundle:
url: https://github.com/antora-supplemental/antora-dark-mode/releases/download/v1.2.0/ui-bundle.zip
snapshot: truenpm registry
Republishing to npm as overlay transport (not ui.bundle replacement). Same package name antora-dark-mode — npm does not support renaming packages. See npm distribution.
Links
| Resource | URL | |----------|-----| | Install guide | installation.adoc | | UI modules | ui-modules.adoc | | Live demo | antora-supplemental.github.io/antora-dark-mode | | Source | github.com/antora-supplemental/antora-dark-mode |
