-
-
Save skydoves/5189683724c9e2ba7f2b7647ca5ddbc9 to your computer and use it in GitHub Desktop.
video_theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public fun VideoTheme( | |
isInDarkMode: Boolean = isSystemInDarkTheme(), | |
colors: StreamColors = StreamColors.defaultColors(), | |
content: @Composable () -> Unit, | |
) { | |
CompositionLocalProvider( | |
LocalColors provides colors, | |
) { | |
content() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment