From ac7cfac78463546e3e722080f568939a061a59fb Mon Sep 17 00:00:00 2001 From: ItzCrazyKns <95534749+ItzCrazyKns@users.noreply.github.com> Date: Fri, 17 Oct 2025 14:36:04 +0530 Subject: [PATCH] feat(config): add theme --- src/lib/config/index.ts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/lib/config/index.ts b/src/lib/config/index.ts index e3c3713..159ee56 100644 --- a/src/lib/config/index.ts +++ b/src/lib/config/index.ts @@ -20,7 +20,27 @@ class ConfigManager { }, }; uiConfigSections: UIConfigSections = { - general: [], + general: [ + { + name: 'Theme', + key: 'theme', + type: 'select', + options: [ + { + name: 'Light', + value: 'light', + }, + { + name: 'Dark', + value: 'dark', + }, + ], + required: false, + description: 'Choose between light and dark layouts for the app.', + default: 'dark', + scope: 'client', + }, + ], modelProviders: [], search: [ {