DEMO:
https://darkmodedetector.bubbleapps.io/version-test
EDITOR:
https://bubble.io/page?type=page&name=dark_mode&id=erisedioplugins&tab=tabs-11. Add a new new "Dark Mode Detector" element to your page in the "Design" tab.
2. Go to "Workflows" and add a step titled "CheckDarkMode DarkModeDetector" to any workflow.
3. "Dark Mode Detector" element will now return "yes" or "no" based on whether User's device has Dark Mode switched on.
BONUS: You can run a workflow every few seconds to dynamically detect the change in User's Dark Mode.