From a3cb93867584ee7cc08bdd0292c5e5aa27795c9f Mon Sep 17 00:00:00 2001 From: UncleCode Date: Fri, 16 May 2025 21:44:56 +0800 Subject: [PATCH] feat(theme): enable dark color mode in mkdocs configuration --- docs/md_v2/overrides/main.html | 46 ++++++---------------------------- mkdocs.yml | 1 + 2 files changed, 9 insertions(+), 38 deletions(-) diff --git a/docs/md_v2/overrides/main.html b/docs/md_v2/overrides/main.html index 5ebc2402..a072d48e 100644 --- a/docs/md_v2/overrides/main.html +++ b/docs/md_v2/overrides/main.html @@ -1,48 +1,19 @@ +{% set extra_html_attrs = 'data-theme="dark"' %} {% extends "base.html" %} {% block extrahead %} {{ super() }} - + + +