Package com._1c.g5.v8.dt.theming.ui.util
Class DtThemeUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.theming.ui.util.DtThemeUtil
-
public class DtThemeUtil extends Object
Util methods for themes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getCurrentThemeId()
Returns current theme Id.static String
getIconPath(String path)
Returns themed icon path.static boolean
isDarkThemeActive()
Returnstrue
if current theme is dark.
-
-
-
Method Detail
-
getCurrentThemeId
public static String getCurrentThemeId()
Returns current theme Id.- Returns:
- current theme Id. Can't return
null
.
-
isDarkThemeActive
public static boolean isDarkThemeActive()
Returnstrue
if current theme is dark.- Returns:
true
if current theme is dark.
-
-