How do you get the system appearance (Light/Dark mode) on iOS and Android?

I want certain menus to react to the system color scheme. How would I read that setting in a widget blueprint?