enisn/UraniumUI

App Theme Settings are supported?

pallav1111 opened this issue · 2 comments

App Theme Settings are supported with Uranium, If i Set Light Mode then UraniumUI are able to do changes accordingly?

Yes, UraniumUI implements colors with AppThemeBinding and it is built on top the default MAUI theming logic.

You can see in the demo application in the repository:

uranium-dark-light

It uses system theme by default or you can manually set requested theme in the code:

App.Current.UserAppTheme = e.Value ? AppTheme.Dark : AppTheme.Light;

Thanks @enisn for quick reply,

public AppShell(ILogger logger)
{
      InitializeComponent();
      App.Current.UserAppTheme = AppTheme.Light;
}

Device : Xiaomi Note 7S

it can not detect or callback on App.Current.RequestedThemeChanged when system theme changed.
And UraniumUI consider only PlatformAppTheme that cant be changed from MAUI side.
not working. is there anything other configuration are missing?