Disclaimer: I don't know how to set background col...
# compose
l
Disclaimer: I don't know how to set background color in Compose, and didn't check it compiles. Composition FTW.
Copy code
@Composable
fun WithPride(@Composable() content: () -> Unit) {
    Padding {
        background = Color.PURPLE
        Padding {
            background = Color.BLUE
            Padding {
                background = Color.GREEN
                Padding {
                    background = Color.YELLOW
                    Padding {
                        background = Color.ORANGE
                        Padding {
                            background = Color.RED
                            content()
                        }
                    }
                }
            }
        }
    }
}
Usage:
Copy code
WithPride {
    Text("#pride")
}