From 931c131bee8d5082d7f5a3bb172c040ac504f624 Mon Sep 17 00:00:00 2001 From: CDN18 Date: Sat, 2 Nov 2024 07:23:11 +0800 Subject: [PATCH] [docs] add theme.palette.toggle.icon back into mkdocs zh config --- docs/locales/zh/mkdocs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/locales/zh/mkdocs.yml b/docs/locales/zh/mkdocs.yml index a4d6f1bd5..da8bc1618 100644 --- a/docs/locales/zh/mkdocs.yml +++ b/docs/locales/zh/mkdocs.yml @@ -6,9 +6,11 @@ theme: palette: - scheme: slate toggle: + icon: material/brightness-7 name: 切换到浅色模式 - scheme: default toggle: + icon: material/brightness-4 name: 切换到深色模式 docs_dir: . edit_uri: edit/main/docs/locales/zh/