feat: rosepine custom theme
This commit is contained in:
1 parent
6f907784fb
commit
af6e4eb904
11 files changed
+168
-39
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import { onMount, tick } from 'svelte';
|
||||
import { config, user } from '$lib/stores';
|
||||
import { config, user, theme } from '$lib/stores';
|
||||
import { goto } from '$app/navigation';
|
||||
import toast, { Toaster } from 'svelte-french-toast';
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
let loaded = false;
|
||||
|
||||
onMount(async () => {
|
||||
theme.set(localStorage.theme);
|
||||
// Check Backend Status
|
||||
const backendConfig = await getBackendConfig();
|
||||
|
||||
@@ -54,6 +55,8 @@
|
||||
|
||||
<svelte:head>
|
||||
<title>Ollama</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/themes/rosepine.css" />
|
||||
</svelte:head>
|
||||
|
||||
{#if loaded}
|
||||
|
||||
Reference in new issue
Block a user