Open francescocervone opened 1 year ago
I was looking into it just yesterday. I think this should be possible to do if I do some minor refactors. Also related to #115
Hey @vinaygaba ! This feature would still be a great addition imo, do you know if there is a chance it will be considered? Thanks!
Second this, it would be a great addition
Currently, the
@ShowkaseColor
and@ShowkaseTypography
annotations can be applied only to fields:Sometimes, you need to declare
Color
s andTextStyle
s as composable functions, for example in this case:It would be nice to be able to apply the
@ShowkaseColor
and@ShowkaseTypography
also to functions, probably the same targets allowed by the@Composable
annotation (https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable), at least for property getters.Thanks.