Implements professional light and dark mode support, custom branding, and dynamic theme switching for cross-platform .NET MAUI applications.
The maui-theming skill provides specialized guidance for implementing robust visual themes in .NET MAUI projects. It covers essential techniques ranging from simple system-wide light and dark mode detection using AppThemeBinding to advanced multi-theme architectures using ResourceDictionary swapping. By addressing critical platform-specific gotchas—such as Android's UiMode configuration—and enforcing the correct use of dynamic resources, this skill ensures that developers can create polished, responsive, and brand-consistent user interfaces that react seamlessly to both user preferences and system settings.
主な機能
01Android system theme detection and activity lifecycle configuration
02108 GitHub stars
03Runtime theme switching and system theme event handling
04Light and dark mode implementation via AppThemeBinding
05Best practices for DynamicResource vs StaticResource usage
06Dynamic ResourceDictionary swapping for custom branded themes
ユースケース
01Creating a multi-brand white-label app with distinct color schemes
02Adding a manual 'Night Mode' toggle to a mobile application
03Ensuring seamless OS-level theme transitions on Android and iOS