Package lu.kbra.modelizer_next.common
Class SystemThemeDetector
java.lang.Object
lu.kbra.modelizer_next.common.SystemThemeDetector
Detects whether the operating system currently prefers a dark theme.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisDark()Checks whether dark is enabled or applies.
-
Method Details
-
isDark
public static boolean isDark()Checks whether dark is enabled or applies.- Returns:
trueif dark is enabled or applies; otherwisefalse
-