From 120002fd933441ed7a46df320f8ca0c4eab6c236 Mon Sep 17 00:00:00 2001 From: Sarun Rattanasiri Date: Fri, 1 Nov 2024 06:01:43 +0700 Subject: [PATCH] Respect user's light/dark mode choice --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 28d77bd..f71ef6a 100644 --- a/Rakefile +++ b/Rakefile @@ -452,6 +452,7 @@ task :build => [DOCS_DIR, ICON_FILE] do |t| doc.at_css('html').then do |html| html.remove_class(html.classes.grep(/(?:\A|:)\[--scroll-mt:/)) + html.remove_class('dark') html.prepend_child(Nokogiri::XML::Comment.new(doc, " Online page at #{uri} ")) end