How can I have a custom color object for my app that changes alongside isSystemInDarkTheme(). I want to achieve something like MaterialColors.colors.primary but with custom colors for my app.
I want to use it like this:
@Composable
fun MyView() {
Surface(color = MyAppColors.CustomColor /*Color changes when isSystemInDarkTheme() changes*/) {
...
}
}