Skip to content

Не могу изменить активный цвет текста в компоненте TabsItem #6055

Closed Answered by SevereCloud
Rezetchik asked this question in Q&A
Discussion options

You must be logged in to vote
.selectColor {
  color: aqua;
}
.unselectColor {
  color: var(--vkui--color_text_secondary);
}
<TabsItem>
  <span className={selected ? 'selectColor' : 'unselectColor'}> Text </span> 
</TabsItem>

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@SevereCloud
Comment options

@Rezetchik
Comment options

@Rezetchik
Comment options

@SevereCloud
Comment options

Answer selected by Rezetchik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants