diff --git a/public/color.less b/public/color.less index c7e6b1b23..521537a91 100644 --- a/public/color.less +++ b/public/color.less @@ -5311,10 +5311,17 @@ form .ant-upload { .ant-menu-item-selected { color: @primary-color; } +.ant-menu-submenu-selected { + color: @primary-color; +} .ant-menu-item-selected > a, .ant-menu-item-selected > a:hover { color: @primary-color; } +.ant-menu-submenu-selected > a, +.ant-menu-submenu-selected > a:hover { + color: @primary-color; +} .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected { background-color: color(~`colorPalette("@{primary-color}", 1)`); } @@ -5412,6 +5419,9 @@ form .ant-upload { .ant-menu-horizontal > .ant-menu-item-selected > a { color: @primary-color; } +.ant-menu-horizontal > .ant-menu-submenu-selected > a { + color: @primary-color; +} .ant-menu-vertical .ant-menu-item:after, .ant-menu-vertical-left .ant-menu-item:after, .ant-menu-vertical-right .ant-menu-item:after,