Refy Theme

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

Function to set the Refy theme to the content

Parameters

darkTheme

: whether to use the dark or light theme

content

: the content to display