Package com._1c.g5.v8.dt.theming.ui.util
Class DtThemeUtil
java.lang.Object
com._1c.g5.v8.dt.theming.ui.util.DtThemeUtil
Util methods for themes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns current theme Id.static String
getIconPath
(String path) Returns themed icon path.static boolean
Returnstrue
if current theme is dark.
-
Method Details
-
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.
-
getIconPath
Returns themed icon path.- Parameters:
path
- - default icon path. Cannot benull
.- Returns:
- themed icon path. Cannot return
null
.
-