AppColourMode

fun AppColourMode(modifier: Modifier = Modifier, content: @Composable (modifier: Modifier) -> Unit)

Wrapper composable that allows accessing current light/dark mode in the UI tree using LocalIsDarkModeActive.current. This wrapper should be used if accessing AppColour in the composition tree.

Dev note: Add this to top of your composition tree to ensure correct mode is available everywhere. It ensures that isSystemInDarkTheme is only called once per composition tree.