]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
gauge widget: add support for a dark theme and dynamic theme switching
authorStefan Sterz <s.sterz@proxmox.com>
Wed, 8 Mar 2023 16:36:57 +0000 (17:36 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Mar 2023 16:49:20 +0000 (17:49 +0100)
commitf111efa4fd5cb74ac2885f4c260d75efbb8b309c
treecbb5bc6bdd9fb4a4e05ff5579ad4e88c6b3be8bf
parentfbe9ee7210503b75b0012a825a6614599522e2f0
gauge widget: add support for a dark theme and dynamic theme switching

the gauges in the data center overview should use a dark style if the
relevant css variables are set. this also makes it possible to switch
the colors dynamically by adding an event listener

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
src/panel/GaugeWidget.js