Api to check for dark mode

Is there a way to do a check and see if auto dark mode has activated?


app instance has darkTheme property that indicates it


And it emits darkThemeChange event on dark theme is turned on/off by system

Thanks, @nolimits4web! You are on it today. Really appreciate it!