tab Row Colors
fun tabRowColors(backgroundColor: Color = if (COUITheme.colorScheme.background.luminance() < 0.5f) {
SegmentContainerDark
} else {
SegmentContainerLight
}, contentColor: Color = COUITheme.colorScheme.onSurface, selectedBackgroundColor: Color = if (COUITheme.colorScheme.background.luminance() < 0.5f) {
SegmentIndicatorDark
} else {
SegmentIndicatorLight
}, selectedContentColor: Color = COUITheme.colorScheme.onSurface): TabRowColors
The default colors for the TabRow and TabRowWithContour, following COUISegmentButtonLayout: both label states default to couiColorLabelPrimary — the selected state is distinguished by the indicator and the medium font weight.