add dark theme
This commit is contained in:
@@ -32,6 +32,7 @@ Produce only the {TARGET_LANG} translation, without any additional explanations
|
||||
{TEXT}`;
|
||||
|
||||
export const useSettingsStore = defineStore('settings', () => {
|
||||
const isDark = useLocalStorage('is-dark', false);
|
||||
const ollamaApiAddress = useLocalStorage('ollama-api-address', 'http://localhost:11434');
|
||||
const modelName = useLocalStorage('model-name', 'translategemma:12b');
|
||||
const enableStreaming = useLocalStorage('enable-streaming', true);
|
||||
@@ -56,6 +57,7 @@ export const useSettingsStore = defineStore('settings', () => {
|
||||
};
|
||||
|
||||
return {
|
||||
isDark,
|
||||
ollamaApiAddress,
|
||||
modelName,
|
||||
enableStreaming,
|
||||
|
||||
Reference in New Issue
Block a user