isOudsInDarkTheme

Determines if the OUDS theme is currently in dark mode.

This function is equivalent to isSystemInDarkTheme, but it respects overrides applied by OudsThemeTweak.

The OUDS theme can be inverted or forced to light/dark modes using OudsThemeTweak. The value returned by this function reflects these effective changes.

If OudsThemeTweak is not used in the layout hierarchy, this function returns the value of the darkThemeEnabled parameter of the root OudsTheme method.

Return

true if the effective OUDS theme is dark, false otherwise.