From 332b38b5cdd8e611d8ff15d2c3a2a8fce9cd4ce2 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Sat, 13 Dec 2025 12:56:24 +0530 Subject: [PATCH] chore: make theme auto by default --- frappe/core/doctype/user/user.json | 4 ++-- frappe/core/doctype/user/user.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frappe/core/doctype/user/user.json b/frappe/core/doctype/user/user.json index e5042ad568..9a13ccb3a5 100644 --- a/frappe/core/doctype/user/user.json +++ b/frappe/core/doctype/user/user.json @@ -636,7 +636,7 @@ "fieldname": "desk_theme", "fieldtype": "Select", "label": "Desk Theme", - "options": "Light\nDark\nAutomatic" + "options": "Automatic\nLight\nDark" }, { "fieldname": "module_profile", @@ -903,7 +903,7 @@ } ], "make_attachments_public": 1, - "modified": "2025-11-07 17:18:37.858564", + "modified": "2025-12-13 12:53:46.486021", "modified_by": "Administrator", "module": "Core", "name": "User", diff --git a/frappe/core/doctype/user/user.py b/frappe/core/doctype/user/user.py index bacce751ac..4b56dcbd2a 100644 --- a/frappe/core/doctype/user/user.py +++ b/frappe/core/doctype/user/user.py @@ -83,7 +83,7 @@ class User(Document): default_app: DF.Literal[None] default_workspace: DF.Link | None defaults: DF.Table[DefaultValue] - desk_theme: DF.Literal["Light", "Dark", "Automatic"] + desk_theme: DF.Literal["Automatic", "Light", "Dark"] document_follow_frequency: DF.Literal["Hourly", "Daily", "Weekly"] document_follow_notify: DF.Check email: DF.Data