From 1f1dc65a97399c6da9c85522db701257543cd380 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Wed, 10 Jan 2024 14:50:58 +0100 Subject: [PATCH] make darkmode dependent on system color scheme --- src/App.svelte | 5 +++-- src/app.pcss | 37 ++++++++++++++++++++----------------- tailwind.config.cjs | 2 +- tsconfig.json | 2 +- 4 files changed, 25 insertions(+), 21 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 8834864..0051df4 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -23,6 +23,7 @@ let patch = true; let loading = false; + let currentStatus = "Preparing launch..."; let rand = 0; @@ -34,7 +35,6 @@ >
- { rand = Math.random() * 100; loading = true; @@ -112,7 +113,7 @@ {#if loading}
-

Waiting...

+

{currentStatus}