RefyTheme

fun RefyTheme(darkTheme: Boolean = when (localUser.theme) { Light -> false Dark -> true else -> isSystemInDarkTheme() }, dynamicColor: Boolean = true, colorStatusBar: Boolean = false, content: @Composable () -> Unit)

Function to set the Refy theme to the content

Parameters

darkTheme

: whether to use the dark or light theme

dynamicColor

: the dynamic color

colorStatusBar

: whether the status bar needs to be coloured

content

: the content to display