David Corrado
03/05/2022, 12:10 AMval Colors.isOnPrimary: Boolean
@Composable
get() = MaterialTheme.colors.onPrimary == LocalContentColor.current
Problem with the above is current is the current text color which I have the onPrimary to always be Color.White. But in dark mode basically all of the colors are White by default. So I could slightly change the color so its not technically white for onPrimary to get this to work but that seems hacky.