diff --git a/packages/vant/src/config-provider/README.md b/packages/vant/src/config-provider/README.md index 035df3f189e..47992a5547a 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 9e190d4b4f2..2e3f309bf49 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; } ```