From a017567bd8bb63aba165d8f1b69ed30d9189bc97 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Tue, 14 Mar 2023 15:01:57 +0100 Subject: [PATCH] utils: move to using the auto theme per default make the new default theme the "auto" theme that uses media queries to detect a users preferred theme. Signed-off-by: Stefan Sterz --- src/Utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils.js b/src/Utils.js index 2ab1d0a..c9c00a9 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -110,13 +110,13 @@ utilities: { }, theme_map: { - auto: 'auto', + crisp: 'Light theme', "proxmox-dark": 'Proxmox Dark', }, render_theme: function(value) { if (!value || value === '__default__') { - return Proxmox.Utils.defaultText + ' (Light theme)'; + return Proxmox.Utils.defaultText + ' (auto)'; } let text = Proxmox.Utils.theme_map[value]; if (text) {