Skip to content

Commit

Permalink
docs: type InteractionStateTheme (#2234)
Browse files Browse the repository at this point in the history
  • Loading branch information
1wkk committed May 29, 2023
1 parent f60229d commit 7bedab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions s2-site/docs/api/general/S2Theme.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ Function description: interactive general theme
| backgroundOpacity | background transparency | `number` | | |
| borderColor | Edge fill color | `string` | | |
| borderWidth | Edge Width | `number` | | |
| borderOpacity | border transparency | `number` | | |
| textOpacity | text transparency | `number` | | |
| opacity | overall transparency | `number` | | |

#### Margin|Padding
Expand Down
2 changes: 2 additions & 0 deletions s2-site/docs/api/general/S2Theme.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ s2.setTheme({
| backgroundOpacity | 背景透明度 | `number` | | |
| borderColor | 边线填充色 | `string` | | |
| borderWidth | 边线宽度 | `number` | | |
| borderOpacity | 边线透明度 | `number` | | |
| textOpacity | 文本透明度 | `number` | | |
| opacity | 整体透明度 | `number` | | |

#### Margin | Padding
Expand Down

0 comments on commit 7bedab6

Please sign in to comment.