Currently Telerik MAUI controls doesn't seem to support Light and Dark Themes(Modes). It will be really helpful to have this feature built in the controls or through styles supported by those controls so that these controls blend in nicely with the Light and Dark Themes supported by the app.
3 comments
ADMIN
Yana
Posted on:18 Nov 2024 10:00
With version 8.0.0 (2024 Q4) of Telerik UI for .NET MAUI we introduced preview theming for our .NET MAUI controls. The Telerik .NET MAUI theme comes with a set of eight predefined swatches for both dark and light modes. For detailed information on this, go to the Theming Support documentation topic.
Dark mode support is currently not available as a built-in functionality, still, you can use the .NET MAUI API for detecting the current system theme and loading the Telerik theme accordingly ( dark or light swatch). You can check the following kb article for the exact implementation:
I found that when I change the current theme from Light to Dark or from Dark to Light on a page the Telerik control (ComboBox in my case) only changes the colors for the first control on the page, but not for the second control.
Application.Current.UserAppTheme = AppTheme.Dark;
For instance, this picture shows after changing to Dark theme. The first ComboBox changed, but not the second ComboBox.
However, if I navigate away from this page and then back in then it corrects itself, as seen here...
It would be great to have this fixed for the current page you are on. Otherwise I might need to refresh the page once the theme has been changed.
ADMIN
Yana
Posted on:22 Jun 2022 14:18
Hello,
Thank you for submitting this feature request about dark mode support - it's definitely something we'll have in mind for the upcoming releases of Telerik .NET MAUI controls, I've updated the status of the item to "Unplanned".
Please follow the feedback item to get an email notification as soon as there is any progress on the feature.
Regards,
Yana
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.