Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(layout): 文档增加 colorBgMenuItemActive 属性 #8190

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading