fix: remove the light default style

This commit is contained in:
Spectralitree 2021-12-11 12:01:57 +01:00
parent eba1a4543f
commit c188154677

View File

@ -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");
};