Skip to content

Commit ba6d34a

Browse files
authored
Merge pull request #78 from croatialu/main
docs: `--mx-menu-open-hover-background` and `--mx-menu-open-hover-text`
2 parents f4048ee + 7f98810 commit ba6d34a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/en/guide/customize.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@ The style of the menu has extracted some css variables for you to use. You can e
4444
--mx-menu-hover-backgroud: #f1f1f1; //The background color of the menu item when hovering
4545
--mx-menu-active-backgroud: #dfdfdf; //The background color of the menu item when the mouse is pressed
4646
--mx-menu-open-backgroud: #f1f1f1; //The background color of the menu item when the menu item submenu is opened
47+
--mx-menu-open-hover-backgroud: #f1f1f1; // The background color of the menu item when the menu item submenu is opened and the mouse is hovering
4748
--mx-menu-divider: #f0f0f0; //Menu divider color
4849

4950
//Text
5051
--mx-menu-text: #2e2e2e; //Menu text color
5152
--mx-menu-hover-text: #2e2e2e; //Menu text color when hovering
5253
--mx-menu-active-text: #2e2e2e; //Menu text color when the mouse is pressed
5354
--mx-menu-open-text: #2e2e2e; //Menu text color when the menu item submenu is opened
55+
--mx-menu-open-hover-text: #2e2e2e; //Menu text color when the menu item submenu is opened and the mouse is hovering
5456
--mx-menu-disabled-text: #c9c8c8; //Menu text color when the menu item is disabled
5557

5658
//Shadow

docs/zh/guide/customize.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ import '你的样式scss文件路径.scss'
2424
--mx-menu-hover-backgroud: #f1f1f1; //菜单条目鼠标悬浮时的背景颜色
2525
--mx-menu-active-backgroud: #dfdfdf; //菜单条目鼠标按下时的背景颜色
2626
--mx-menu-open-backgroud: #f1f1f1; //菜单条目子菜单打开时的背景颜色
27+
--mx-menu-open-hover-background: #f1f1f1; //菜单条目子菜单打开时悬浮的背景颜色
2728
--mx-menu-divider: #f0f0f0; //菜单分割线条目颜色
2829

2930
//Text
3031
--mx-menu-text: #2e2e2e; //菜单文字颜色
3132
--mx-menu-hover-text: #2e2e2e; //菜单条目鼠标悬浮时的文字颜色
3233
--mx-menu-active-text: #2e2e2e; //菜单条目鼠标按下时的文字颜色
3334
--mx-menu-open-text: #2e2e2e; //菜单条目子菜单打开时的文字颜色
35+
--mx-menu-open-hover-text: #2e2e2e; //菜单条目子菜单打开时悬浮的文字颜色
3436
--mx-menu-disabled-text: #c9c8c8; //菜单条目禁用的文字颜色
3537

3638
//Shadow

0 commit comments

Comments
 (0)