diff --git a/components/tabs/style/index.less b/components/tabs/style/index.less index d6ffe501c0..4947f57a33 100644 --- a/components/tabs/style/index.less +++ b/components/tabs/style/index.less @@ -171,7 +171,7 @@ &&-active &-btn { color: @tabs-highlight-color; - text-shadow: 0 0 0.25px currentColor; + text-shadow: 0 0 0.25px currentcolor; } &&-disabled { diff --git a/components/timeline/TimelineItem.tsx b/components/timeline/TimelineItem.tsx index 81e316f4e6..fbc9441f24 100644 --- a/components/timeline/TimelineItem.tsx +++ b/components/timeline/TimelineItem.tsx @@ -38,14 +38,12 @@ export default defineComponent({ [`${prefixCls.value}-item-head-custom`]: dot, [`${prefixCls.value}-item-head-${color}`]: true, }); + const customColor = /blue|red|green|gray/.test(color || '') ? undefined : color; return (
Technical testing 2
Technical testing 3 2015-09-01
+Custom color testing
+