From 78064c6fd2d07668e887bbbd923b8da9feca57e9 Mon Sep 17 00:00:00 2001 From: inottn Date: Wed, 19 Jul 2023 10:47:47 +0800 Subject: [PATCH] docs(ConfigProvider): fix css demo error (#12105) --- packages/vant/src/config-provider/README.md | 2 +- packages/vant/src/config-provider/README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vant/src/config-provider/README.md b/packages/vant/src/config-provider/README.md index 035df3f18..47992a554 100644 --- a/packages/vant/src/config-provider/README.md +++ b/packages/vant/src/config-provider/README.md @@ -32,7 +32,7 @@ The theme prop will not change the text-color or background-color of the page, y ```css .van-theme-dark body { - text-color: #f5f5f5; + color: #f5f5f5; background-color: black; } ``` diff --git a/packages/vant/src/config-provider/README.zh-CN.md b/packages/vant/src/config-provider/README.zh-CN.md index 9e190d4b4..2e3f309bf 100644 --- a/packages/vant/src/config-provider/README.zh-CN.md +++ b/packages/vant/src/config-provider/README.zh-CN.md @@ -32,7 +32,7 @@ app.use(ConfigProvider); ```css .van-theme-dark body { - text-color: #f5f5f5; + color: #f5f5f5; background-color: black; } ```