From 23d812606dd25639ead63eb33d2f7a1479630711 Mon Sep 17 00:00:00 2001
From: Felix Eckhofer <felix@eckhofer.com>
Date: Mon, 6 Jan 2025 16:50:30 +0100
Subject: [PATCH] Add dark mode

Palette based on catppuccin.
---
 index.html | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/index.html b/index.html
index 22611a0..b71b7c9 100644
--- a/index.html
+++ b/index.html
@@ -41,6 +41,23 @@
 		.explanation {
 			opacity: .5;
 		}
+		@media (prefers-color-scheme: dark) {
+			body {
+				background-color: #1e1e2e;
+				color: #cdd6f4;
+
+			}
+			h1 {
+				color: #eba0ac;
+			}
+			a {
+				color: #89b4fa;
+				text-decoration: none;
+			}
+			a:hover, a:focus {
+				text-decoration: underline;
+			}
+		}
 		</style>
 	</head>
 	<body>
-- 
GitLab