make the new default theme the "auto" theme that uses media queries to
detect a users preferred theme.

Signed-off-by: Stefan Sterz <s.st...@proxmox.com>
---
 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) {
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to