• JMap.Application.UI.Theme.setDark

    Changes the UI color theme in dark or light.

    Parameters

    • isDark: boolean

      if true make the theme dark, else light

    Returns void

    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)