diff --git a/cli/templates/.vuepress/theme/styles/custom.css b/cli/templates/.vuepress/theme/styles/custom.css index d3a3696d..16de560b 100644 --- a/cli/templates/.vuepress/theme/styles/custom.css +++ b/cli/templates/.vuepress/theme/styles/custom.css @@ -27,7 +27,7 @@ } /** 深色模式 */ -.dark { +[data-theme="dark"] { /* --vp-c-brand-1: #8cccd5; --vp-c-brand-2: #6aa1b7;