fix: remove the light default style
This commit is contained in:
@@ -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");
|
||||
};
|
||||
|
Reference in New Issue
Block a user