From c188154677d076907173cacac4d755f84778d5ba Mon Sep 17 00:00:00 2001 From: Spectralitree <72747870+Spectralitree@users.noreply.github.com> Date: Sat, 11 Dec 2021 12:01:57 +0100 Subject: [PATCH] fix: remove the light default style --- src/App.svelte | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 220a6683..a9ebca60 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -4,7 +4,6 @@ import Dash from "./pages/Dash.svelte"; import Home from "./pages/Home.svelte"; - // theme cdns (I might make some myself too) let light = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css"; let dark = "https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.1.3/dist/css/bootstrap-night.min.css"; @@ -26,8 +25,6 @@ case "dark": styleSrc = dark; localStorage.setItem("pk-style", "dark"); break; - default: styleSrc = light; - localStorage.setItem("pk-style", "light"); default: styleSrc = dark; localStorage.setItem("pk-style", "dark"); };