Guilherme Delgado
12/23/2022, 12:06 PMOn surface variant
. But the implementation we have:
package androidx.compose.material3
@Composable
fun Tab(
...
selectedContentColor: Color = LocalContentColor.current,
unselectedContentColor: Color = selectedContentColor,
)
Forcing me to do this:
Tab(
...
unselectedContentColor = MaterialTheme.colorScheme.onSurfaceVariant
)
Shouldn’t this default value use an approach similar to the one Switch
uses: colors: SwitchColors = SwitchDefaults.colors()
?