Skip to content

Commit b1bbc6d

Browse files
committedJul 20, 2020
fix: custom-step color #876
1 parent 5fb1fee commit b1bbc6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎config/plugin.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ const themePluginOption = {
2626
case '.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon':
2727
case '.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon':
2828
return ':not(.ant-steps-item-process)' + selector
29+
// fixed https://github.com/vueComponent/ant-design-vue-pro/issues/876
30+
case '.ant-steps-item-process .ant-steps-item-icon':
31+
return ':not(.ant-steps-item-custom)' + selector
2932
case '.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover':
3033
case '.ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal > .ant-menu-submenu-selected,.ant-menu-horizontal > .ant-menu-submenu:hover':
3134
return '.ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover'

0 commit comments

Comments
 (0)
Please sign in to comment.