From cf18f1986ab373989b92245f2b15ce933a2a3662 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 3 Sep 2023 22:56:00 -0700
Subject: feat: dark theme

---
 src/routes/settings/+page.svelte | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'src/routes/settings/+page.svelte')

diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index 39c67391..2cc7ea0a 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -34,6 +34,18 @@
 {:else}
 	<h2>Display</h2>
 
+	<a
+		href={'#'}
+		on:click={() =>
+			$settings.forceLightTheme
+				? settings.setKey('forceLightTheme', false)
+				: settings.setKey('forceLightTheme', true)}
+		>{$settings.forceLightTheme ? 'Use preferred theme' : 'Force light theme'}</a
+	>
+	<br />
+
+	<p />
+
 	<a
 		href={'#'}
 		on:click={() =>
-- 
cgit v1.2.3

