Class LibGui
java.lang.Object
io.github.cottonmc.cotton.gui.client.LibGui
This class provides access to LibGui configuration and other global data.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returns whether LibGui is running in dark mode and widgets should use dark theming.
-
Method Details
-
isDarkMode
public static boolean isDarkMode()Returns whether LibGui is running in dark mode and widgets should use dark theming.- Returns:
- true if widgets should use dark theming, false otherwise
-