[pbs-devel] From 39998aadbf833c19a83fea3549105e625b029c50 Mon Sep 17 00:00:00 2001
Stefan Sterz
s.sterz at proxmox.com
Wed Mar 8 17:51:01 CET 2023
On 3/8/23 17:45, Stefan Sterz wrote:
> 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 at proxmox.com>
> ---
> docs/api-viewer/index.html | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/docs/api-viewer/index.html b/docs/api-viewer/index.html
> index 4ae903ed..dbe5e637 100644
> --- a/docs/api-viewer/index.html
> +++ b/docs/api-viewer/index.html
> @@ -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>
not sure why this one was garbeled like that subject should have been:
> docs: add dark mode support to the api viewer
More information about the pbs-devel
mailing list