this commit adds support for a dark theme that behaves similarly to that one used by the api viewer.
Signed-off-by: Stefan Sterz <s.st...@proxmox.com> --- asciidoc/pve-html.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/asciidoc/pve-html.conf b/asciidoc/pve-html.conf index 8a089d3..99b767d 100644 --- a/asciidoc/pve-html.conf +++ b/asciidoc/pve-html.conf @@ -629,6 +629,10 @@ div .toclevel1 { </style> endif::toc2[] +<style type="text/css"> +include1::{stylesdir=/usr/share/javascript/proxmox-widget-toolkit-dev}/theme-proxmox-dark-adocs.css[] +</style> + ifndef::disable-javascript[] ifdef::linkcss[] <script type="text/javascript" src="{scriptsdir=.}/asciidoc.js"></script> -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel