Skip to content

Commit

Permalink
fix(TabsItem): use --header_tint instead --accent for accent mode
Browse files Browse the repository at this point in the history
  • Loading branch information
inomdzhon committed Jul 28, 2022
1 parent 85f2183 commit 86ec6d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/TabsItem/TabsItem.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
}

.TabsItem--selected.TabsItem--accent .TabsItem__before {
color: var(--accent, var(--vkui--color_icon_accent_themed));
color: var(--header_tint, var(--vkui--color_icon_accent_themed));
}

.TabsItem--selected.TabsItem--secondary .TabsItem__before {
Expand All @@ -127,7 +127,7 @@
}

.TabsItem--selected.TabsItem--accent .TabsItem__label {
color: var(--accent, var(--vkui--color_text_accent_themed));
color: var(--header_tint, var(--vkui--color_text_accent_themed));
}

.TabsItem--selected.TabsItem--secondary .TabsItem__label {
Expand All @@ -146,7 +146,7 @@
/* Элемент */
.TabsItem__after {
margin-left: 6px;
color: var(--accent, var(--vkui--color_icon_accent_themed));
color: var(--header_tint, var(--vkui--color_icon_accent_themed));
}

/* Элемент */
Expand Down Expand Up @@ -245,7 +245,7 @@
}

.TabsItem--ios.TabsItem--segmented.TabsItem--selected .TabsItem__label {
color: var(--background_content, var(--vkui--color_text_contrast_themed));
color: var(--background_content);
}

.PanelHeader--ios
Expand Down

0 comments on commit 86ec6d3

Please sign in to comment.