Looking at Tabs specs from <material3> the inactiv...
# compose
g
Looking at Tabs specs from material3 the inactive state color is
On surface variant
. But the implementation we have:
Copy code
package androidx.compose.material3

@Composable
fun Tab(
    ...
    selectedContentColor: Color = LocalContentColor.current,
    unselectedContentColor: Color = selectedContentColor,
)
Forcing me to do this:
Copy code
Tab(
    ...
    unselectedContentColor = MaterialTheme.colorScheme.onSurfaceVariant
)
Shouldn’t this default value use an approach similar to the one
Switch
uses:
colors: SwitchColors = SwitchDefaults.colors()
?
👍 1