🤔 Documentation issue? Report or edit How to detect dark mode¶ Inside your Composable you can use isSystemInDarkTheme to detect if the device is running in dark mode. val dark = isSystemInDarkTheme() See also:¶ Official Docs Learn-Jetpack-Compose-By-Example/DarkModeActivity Last update: May 17, 2022