// true or false
JMap.Application.UI.Theme.isDark()
Returns boolean
setDark
setDark(isDark: boolean): void
JMap.Application.UI.Theme.setDark
Changes the UI color theme in dark or light.
example
// make the theme dark
JMap.Application.UI.Theme.setDark()
// make the theme dark
JMap.Application.UI.Theme.setDark(true)
// make the theme light
JMap.Application.UI.Theme.setDark(false)
JMap.Application.UI.Theme
You can manage the UI theme here.