How to tell in a RAMP TS script what theme is being used

RAMP-TS

How to tell in a RAMP-TS script what theme is being used?

In a RAMP-TS script you may want to know what VL/VLF theme is being used in the application.

The JavaScript variable GLOBAL_VL_Theme is accessible to RAMP-TS scripts. It should contain “BLUE”, “SILVER”, “OLIVE” or “GRAPHITE”.

You should not change the content of GLOBAL_VL_Theme.