From 93f92368c2e5acf349e187e25067ed26690373c0 Mon Sep 17 00:00:00 2001 From: MG-5 Date: Wed, 1 Nov 2023 12:50:00 +0100 Subject: [PATCH] Make auto darkmode working by using "prefers-color-scheme" tag --- _includes/default/head.liquid | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/_includes/default/head.liquid b/_includes/default/head.liquid index 0340feb..b9e2f4f 100644 --- a/_includes/default/head.liquid +++ b/_includes/default/head.liquid @@ -2,16 +2,25 @@ - + {% if site.color_theme == 'auto' %} {% else %} {% endif %}