Automatically pick light/dark theme for Grafana panels

The dark theme in the screenshot is Blackened. The light one is clear (light).