From b2fe71681084b7cca949edddb87165a19fcb92d6 Mon Sep 17 00:00:00 2001 From: tdharris Date: Thu, 8 Aug 2024 15:01:13 -0600 Subject: [PATCH] fix(theme): force dark theme by default --- blog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog.tsx b/blog.tsx index 0bc7309..5bf0f7e 100644 --- a/blog.tsx +++ b/blog.tsx @@ -104,7 +104,7 @@ function errorHandler(err: unknown) { */ export default async function blog(settings?: BlogSettings) { html.use(UnoCSS(settings?.unocss)); // Load custom unocss module if provided - html.use(ColorScheme("auto")); + html.use(ColorScheme("dark")); const url = callsites()[1].getFileName()!; const blogState = await configureBlog(url, IS_DEV, settings);