Skip to content

Commit 0cbcfdd

Browse files
authored
docs(configprovider): 优化文档中的主题配置描述 (jdf2e#2959)
1 parent 7ce23a0 commit 0cbcfdd

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/packages/configprovider/doc.en-US.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ You can override these CSS variables directly in your code, and the styling of t
2424
/* After you add this style, the Primary Button turns green */
2525
:root {
2626
--nutui-color-primary: green;
27+
--nutui-color-primary-stop1: green;
28+
--nutui-color-primary-stop2: green;
2729
}
2830
```
2931

src/packages/configprovider/doc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ NutUI-React 可以通过 [CSS 变量](https://developer.mozilla.org/zh-CN/docs/W
2424
/* 添加这段样式后,Primary Button 会变成绿色 */
2525
:root {
2626
--nutui-color-primary: green;
27+
--nutui-color-primary-stop1: green;
28+
--nutui-color-primary-stop2: green;
2729
}
2830
```
2931

src/packages/configprovider/doc.taro.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ NutUI-React 可以通过 [CSS 变量](https://developer.mozilla.org/zh-CN/docs/W
2424
/* 添加这段样式后,Primary Button 会变成绿色 */
2525
:root {
2626
--nutui-color-primary: green;
27+
--nutui-color-primary-stop1: green;
28+
--nutui-color-primary-stop2: green;
2729
}
2830
```
2931

src/packages/configprovider/doc.zh-TW.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ NutUI-React 可以通過 \[CSS 變數\](<https://developer.mozilla.org/zh-CN/d
2424
/* 添加這段樣式后,Primary Button 會變成綠色 */
2525
:root {
2626
--nutui-color-primary: green;
27+
--nutui-color-primary-stop1: green;
28+
--nutui-color-primary-stop2: green;
2729
}
2830
```
2931

0 commit comments

Comments
 (0)