From 8447a2b491406959376b85c2fb7251f6fc0937df Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Mon, 24 Apr 2023 14:08:56 +0530 Subject: [PATCH] introduce system theme --- netbox/netbox/preferences.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/netbox/netbox/preferences.py b/netbox/netbox/preferences.py index 5ef216259..69ae87f5c 100644 --- a/netbox/netbox/preferences.py +++ b/netbox/netbox/preferences.py @@ -18,8 +18,9 @@ PREFERENCES = { choices=( ('light', 'Light'), ('dark', 'Dark'), + ('system', 'System') ), - default='light', + default='system', ), 'pagination.per_page': UserPreference( label=_('Page length'), @@ -45,6 +46,7 @@ PREFERENCES = { ('json', 'JSON'), ('yaml', 'YAML'), ), + default='json', ), }