fix: remove the light default style
This commit is contained in:
parent
eba1a4543f
commit
c188154677
@ -4,7 +4,6 @@
|
|||||||
import Dash from "./pages/Dash.svelte";
|
import Dash from "./pages/Dash.svelte";
|
||||||
import Home from "./pages/Home.svelte";
|
import Home from "./pages/Home.svelte";
|
||||||
|
|
||||||
|
|
||||||
// theme cdns (I might make some myself too)
|
// 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 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";
|
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;
|
case "dark": styleSrc = dark;
|
||||||
localStorage.setItem("pk-style", "dark");
|
localStorage.setItem("pk-style", "dark");
|
||||||
break;
|
break;
|
||||||
default: styleSrc = light;
|
|
||||||
localStorage.setItem("pk-style", "light");
|
|
||||||
default: styleSrc = dark;
|
default: styleSrc = dark;
|
||||||
localStorage.setItem("pk-style", "dark");
|
localStorage.setItem("pk-style", "dark");
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user