From 7d74eb65249acf15ab0d36d4ccc2f6cb0615ac3f Mon Sep 17 00:00:00 2001 From: JovannMC Date: Fri, 17 Jan 2025 22:07:28 +0300 Subject: [PATCH] remove theme class in store --- src/lib/components/functional/Navbar.svelte | 14 ++++++-- src/lib/sections/settings/Appearance.svelte | 37 +++++++++++++++------ src/lib/store/index.svelte.ts | 29 ---------------- src/routes/+layout.svelte | 13 ++++---- 4 files changed, 46 insertions(+), 47 deletions(-) diff --git a/src/lib/components/functional/Navbar.svelte b/src/lib/components/functional/Navbar.svelte index ea60965..4142009 100644 --- a/src/lib/components/functional/Navbar.svelte +++ b/src/lib/components/functional/Navbar.svelte @@ -2,7 +2,6 @@ import { browser } from "$app/environment"; import { page } from "$app/stores"; import { duration, fade } from "$lib/animation"; - import { theme } from "$lib/store/index.svelte"; import clsx from "clsx"; import { MoonIcon, SunIcon } from "lucide-svelte"; import { quintOut } from "svelte/easing"; @@ -127,7 +126,18 @@ {/each}