<@U054UHVHAQG> I was trying out your library cuper...
# compose
v
@Alexander Zhirkevich I was trying out your library cupertino-adaptive In my app I have used Material3 and used
MaterialTheme.colorScheme
everywhere When i tried to add cupertino, i see it takes Cupertino Theme which has a different set of colors How can i make the components, like buttons, navbar, slider etc have the same color as material one, without manually configuring the colors of the component like this everywhere
Copy code
AdaptiveSwitch(checked = true, onCheckedChange = {  }){
    cupertino {
        this.colors = CupertinoSwitchDefaults.colors(
            thumbColor = MaterialTheme.colorScheme.background
        )
    }
    material {
        this.colors = SwitchDefaults.colors().copy(
        )
    }
}
a
You can check in defaults what cupertino theme colors are used for different components and configure such colors in adaptive theme. Or you can create like
MySwitch
composable, configure everything once and use it everywhere in your app. No need to tag me in public channels, you can just DM me
v
Sorry for the tag Seems like creating wrapper composables is the better solution Thanks