mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-05 20:18:41 +00:00
docs: add dark mode support to the api viewer
adds dark mode support to the api viewer that is activated depending on the users theme preference. similar to the main gui's "auto" theme. this requires a bump of the widget toolkit so the dark theme css file is present Signed-off-by: Stefan Sterz <s.sterz@proxmox.com> [ T: fixup commit subject, got garbled on send ] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4fbbc6cd3e
commit
66bcf56cda
@ -6,6 +6,7 @@
|
||||
<title>Proxmox Backup Server API Documentation</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="extjs/theme-crisp/resources/theme-crisp-all.css">
|
||||
<link rel="stylesheet" type="text/css" media="(prefers-color-scheme: dark)" href="/pwt/themes/theme-proxmox-dark.css" />
|
||||
<script type="text/javascript" src="extjs/ext-all.js"></script>
|
||||
<script type="text/javascript" src="apidoc.js"></script>
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user