From bfe23ce820f5da19730cadcc77b59f6846c6f70e Mon Sep 17 00:00:00 2001 From: msidolphin Date: Wed, 1 Sep 2021 14:29:20 +0800 Subject: [PATCH] fix(theme-chalk): fixed the wrong background color of timeline-item (#3165) --- packages/theme-chalk/src/timeline-item.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}); + } } }