From e49c4b3c4b1cb105480850d3204efb2b6094a75c Mon Sep 17 00:00:00 2001 From: Moath Altamimi Date: Sat, 27 Dec 2025 03:52:33 +0300 Subject: [PATCH] Added Dark Mode --- index.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 9575714..2233db0 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,8 @@ - + + @@ -29,6 +30,18 @@ width: 100%; height: 100%; } + + /* Dark mode theme overrides */ + :root { + --siteFont: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif !important; + --codeFontFamily: 'Roboto Mono', Monaco, courier, monospace !important; + --bodyFontSize: 15px !important; + --accent: #0AC7EF !important; + } + + html[style*="color-scheme: dark"] .sidebar > h1 img { + filter: invert(1) hue-rotate(180deg) brightness(1.2); + } @@ -66,4 +79,5 @@ + \ No newline at end of file