How to support dark mode from TVP/SSO?

:Hello,


Our apps support SSO via TV Provider, which use remote javascript files for loading assets/configuration.

The sign in screen for our TV Provider loads a logo from our 'Config.js' file (ex: config.logoURL2x: "***.png")

Since the release of iOS 13, the logo is basically invisible when in dark mode on the sign in screen.


Is there any way for the javascript to 'know' what the theme is? I've taken a look at network logs and have not seen anything indicating if we are in dark/light mode:


GET ***/Config.js HTTP/1.1

Host: ***.net

Connection: keep-alive

Accept: */*

User-Agent: com.apple.VSViewService/1.0 iOS/12.4 model/iPhone7,2 hwp/t7000 build/16G77 (6; dt:106)

Accept-Language: en-US

X-Apple-Tz: -25200

Accept-Encoding: br, gzip, deflate



Thanks!