forked from open-webui/open-webui
main #2
2 changed files with 1 additions and 4 deletions
|
@ -16,8 +16,6 @@
|
|||
// General
|
||||
let themes = ['dark', 'light', 'rose-pine dark', 'rose-pine-dawn light'];
|
||||
let selectedTheme = 'system';
|
||||
let actualTheme: string;
|
||||
$: actualTheme = $theme;
|
||||
|
||||
let languages = [];
|
||||
let lang = $i18n.language;
|
||||
|
@ -72,7 +70,6 @@
|
|||
|
||||
onMount(async () => {
|
||||
selectedTheme = localStorage.getItem('theme') ?? 'system';
|
||||
applyTheme(selectedTheme);
|
||||
|
||||
let settings = JSON.parse(localStorage.getItem('settings') ?? '{}');
|
||||
languages = await getLanguages();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { APP_NAME } from '$lib/constants';
|
||||
import { writable, derived } from 'svelte/store';
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
// Backend
|
||||
export const WEBUI_NAME = writable(APP_NAME);
|
||||
|
|
Loading…
Reference in a new issue