mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-10-18 21:38:14 +00:00
feat(config): add theme
This commit is contained in:
@@ -20,7 +20,27 @@ class ConfigManager {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
uiConfigSections: UIConfigSections = {
|
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: [],
|
modelProviders: [],
|
||||||
search: [
|
search: [
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user