Skip to content

Instantly share code, notes, and snippets.

@KatieBarnett
Created August 27, 2023 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KatieBarnett/9902bf476895f47b7755e5dc53378e99 to your computer and use it in GitHub Desktop.
Save KatieBarnett/9902bf476895f47b7755e5dc53378e99 to your computer and use it in GitHub Desktop.
Greyscale modified applied
@Composable
fun GreyscaleScene(modifier: Modifier = Modifier) {
Row(modifier.greyScale()) {
SceneContent(color = Color.Blue)
SceneContent(color = Color.Red)
SceneContent(color = Color.Black)
PhotoSceneContent(color = Pink)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment