For Android 10+ devices.
Also works on some Android 9+ devices, but only reliably works on Android 10+.
Allows you to react to the system wide dark mode being enabled on your device.
For examples on how to use Dark Mode with Tasker check out this example Tasker Project.