Antora UI branding (valentus-theme)
This documentation site uses the valentus-theme pre-built UI bundle (ui-bundle.zip). As of 2.0.0, the bundle ships dark mode, Lunr search in a tool band, read-width controls, Plus Jakarta Sans / Source Sans 3 / IBM Plex Mono, and a teal visual redesign. Site-specific branding is a thin supplemental-ui layer plus playbook site.keys.
Former antora-dark-theme consumers should migrate to this bundle URL.
Playbook
ui:
bundle:
url: https://github.com/antora-supplemental/valentus-theme/releases/download/v2/ui-bundle.zip
snapshot: true
supplemental_files: ./supplemental-ui
This repository carries the GitHub topic valentus-theme (product dependency rediscovery). Sites that adopt the same bundle should add that topic too — see the Valentus guide GitHub Topics.
DevCentr accent overlay
Layout, fonts, and default teal chrome stay valentus-theme. devcentr-brand.css remaps --adt-accent* tokens to the org palette. TIP/NOTE colors stay on Default UI / Valentus admonition tokens (--tip-color / --adt-admonition-tip — Antora green by default; do not remap tip to brand accent):
-
Light primary:
#178F80 -
Dark primary:
#2DD4BF -
Logo accents:
#14B8A6/#0F766E
Overlay files:
-
supplemental-ui/css/devcentr-brand.css— accent token overrides (loaded last) -
supplemental-ui/partials/head-meta.hbs— vendored from valentus-theme 2.x, plus the brand stylesheet link -
supplemental-ui/img/logo.svg— orbit mark for the header
Do not override partials/header-content.hbs unless you need markup the theme keys cannot express. Upstream already reads camelCased site.keys for logo and navbar text.
When upgrading valentus-theme, re-diff head-meta.hbs against upstream and keep the brand CSS link after site-visual.css / site-read-width.css / site-font-size.css. The font-size FOUC script and stylesheet are required for the condensed A/A/A control (desktop hide + doc zoom).
Header logo and navbar text
site:
keys:
header_logo: logo.svg
site_home_url: https://devcentr.org
site_home_label: DevCentr home
header_doc_title: DevCentr Docs
Write playbook site.keys in snake_case. Antora camelCases them for the UI model (site_home_url → siteHomeUrl).
|
Place the logo at supplemental-ui/img/logo.svg.
VCS repo logo
The bundle detects repository URLs and maps them to provider icons under img/vcs/.
See the theme guide: VCS Repo Logo.