Skip to content

Commit

Permalink
docs(layout): 文档增加 colorBgMenuItemActive 属性
Browse files Browse the repository at this point in the history
  • Loading branch information
xliez committed Feb 27, 2024
1 parent 68b8afe commit 50d9f48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/layout/src/components/layout.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ Sider Token is the color value of the side menu, which is different from the top
| colorTextMenu | font color of menuItem | `colorText` |
| colorTextMenuSecondary | Secondary font color for menu, such as footer and action icons | `colorText` |
| colorTextMenuSelected | selected font color of menuItem | `rgb(0,0,0)` |
| colorTextMenuActive | active font color of menuItem | `rgba(0, 0, 0, 0.85)` |
| colorTextMenuItemHover | hover font color of menuItem | `rgba(255,255,255,0.75)` |
| colorBgMenuItemActive | background color of menuItem while clicking | `rgba(0, 0, 0, 0.15)` |
| colorBgMenuItemHover | hover background color of menuItem | `rgba(90, 75, 75, 0.03)` |
| colorBgMenuItemSelected | selected background color of menuItem | `rgba(0, 0, 0, 0.04)` |
| colorBgMenuItemCollapsedElevated | The popup menu background color of the collapsed menuItem | `transparent` |
Expand Down
1 change: 1 addition & 0 deletions packages/layout/src/components/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ Sider Token 是侧边菜单的色值,与顶部菜单不同。
| colorTextMenuSelected | menuItem 的选中字体颜色 | `rgb(0,0,0)` |
| colorTextMenuActive | menuItem hover 的选中字体颜色 | `rgba(0, 0, 0, 0.85)` |
| colorTextMenuItemHover | menuItem 的 hover 字体颜色 | `rgba(255,255,255,0.75)` |
| colorBgMenuItemActive | menuItem 的点击时背景颜色 | `rgba(0, 0, 0, 0.15)` |
| colorBgMenuItemHover | menuItem 的 hover 背景颜色 | `rgba(90, 75, 75, 0.03)` |
| colorBgMenuItemSelected | menuItem 的选中背景颜色 | `rgba(0, 0, 0, 0.04)` |
| colorBgMenuItemCollapsedElevated | 收起 menuItem 的弹出菜单背景颜色 | `transparent` |
Expand Down

0 comments on commit 50d9f48

Please sign in to comment.