From 020a260279497eb0da6f01ba16aa1d3917ab604a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Wed, 30 Mar 2022 21:16:15 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BC=98=E5=8C=96=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/docs/zh-CN/guide/dark.md | 17 ++++++ example/src/layouts/Layout.vue | 2 +- example/src/router/zh-CN.ts | 5 ++ example/src/view/guide.vue | 5 ++ example/src/view/index.vue | 90 +++++++++++++++++++------------- 5 files changed, 83 insertions(+), 36 deletions(-) diff --git a/example/docs/zh-CN/guide/dark.md b/example/docs/zh-CN/guide/dark.md index e69de29b..d5d73128 100644 --- a/example/docs/zh-CN/guide/dark.md +++ b/example/docs/zh-CN/guide/dark.md @@ -0,0 +1,17 @@ +::: title 夜间模式 +::: + +::: describe 默认情况下, 网站主题为日间模式。若需启用深夜模式, 使用 config-provider 组件。 +::: + +``` + + + +``` \ No newline at end of file diff --git a/example/src/layouts/Layout.vue b/example/src/layouts/Layout.vue index 7eae218b..760f578d 100644 --- a/example/src/layouts/Layout.vue +++ b/example/src/layouts/Layout.vue @@ -8,7 +8,7 @@ - layui - vue + layui - vue