From 71221cf57376b957843ccd3039966428fbcb0d51 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 31 Mar 2025 13:39:41 -0400 Subject: themes/hugo-pt2021: default to dark mode --- themes/hugo-pt2021/assets/script.js | 1 - 1 file changed, 1 deletion(-) (limited to 'themes/hugo-pt2021/assets') diff --git a/themes/hugo-pt2021/assets/script.js b/themes/hugo-pt2021/assets/script.js index ae47804..c1086cc 100644 --- a/themes/hugo-pt2021/assets/script.js +++ b/themes/hugo-pt2021/assets/script.js @@ -66,7 +66,6 @@ const D = document, // the old logic also attempted to account for "prefers-color-scheme: // light", but i want the default to be dark unless it is explicitly // overridden. -C.add('dark'); // unconditionally set dark mode if (L && L.theme && L.theme === 'light') { C.remove('dark'); // set light theme } -- cgit v1.2.3