public static effectiveAppearanceMode(mode as String = null) as String:
Resolves system into light or dark.
Custom theme names are returned unchanged. This lets a window or the global appearance mode target a registered application theme without overloading the meaning of the built-in light/dark slots.
print(ThemeManager.effectiveAppearanceMode())