Class DtThemeUtil

java.lang.Object
com._1c.g5.v8.dt.theming.ui.util.DtThemeUtil

public class DtThemeUtil extends Object
Util methods for themes.
  • Method Details

    • getCurrentThemeId

      public static String getCurrentThemeId()
      Returns current theme Id.
      Returns:
      current theme Id. Can't return null.
    • isDarkThemeActive

      public static boolean isDarkThemeActive()
      Returns true if current theme is dark.
      Returns:
      true if current theme is dark.
    • getIconPath

      public static String getIconPath(String path)
      Returns themed icon path.
      Parameters:
      path - - default icon path. Cannot be null.
      Returns:
      themed icon path. Cannot return null.