From 4784b32e8999c7a2ff7b25ff9c08c302aa3a5378 Mon Sep 17 00:00:00 2001 From: betavs <34408516+betavs@users.noreply.github.com> Date: Wed, 5 Jun 2024 17:32:47 +0800 Subject: [PATCH] fix(tabs): some css variables are invalid (#2843) --- src/tabs/tabs.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tabs/tabs.less b/src/tabs/tabs.less index f0c3b1919..1ecfcd2d9 100644 --- a/src/tabs/tabs.less +++ b/src/tabs/tabs.less @@ -40,7 +40,7 @@ background: @tab-nav-bg-color; &--card { - background: @bg-color-secondarycontainer; + background: @tab-item-tag-bg; --td-tab-border-color: transparent; } } @@ -109,7 +109,7 @@ &--card { &.@{item}--active { - background-color: @bg-color-container; + background-color: @tab-nav-bg-color; border-radius: 18rpx 18rpx 0 0; &:first-child { @@ -132,14 +132,14 @@ bottom: 0; width: 36rpx; height: 36rpx; - background: @bg-color-container; + background: @tab-nav-bg-color; &::after { content: ''; display: block; width: 100%; height: 100%; - background-color: @bg-color-secondarycontainer; + background-color: @tab-item-tag-bg; } }