diff --git a/packages/theme-chalk/src/timeline-item.scss b/packages/theme-chalk/src/timeline-item.scss index 9ccaf34159..7e865118b1 100644 --- a/packages/theme-chalk/src/timeline-item.scss +++ b/packages/theme-chalk/src/timeline-item.scss @@ -43,7 +43,9 @@ } @each $type in (primary, success, warning, danger, info) { - background-color: var(--el-color-#{$type}); + @include m($type) { + background-color: var(--el-color-#{$type}); + } } }