Implements professional light and dark mode support, dynamic resource management, and custom theme switching for .NET MAUI applications.
The maui-theming skill provides comprehensive guidance for managing visual styles and user preferences in .NET MAUI apps. It covers critical implementation patterns including AppThemeBinding for automatic system-level theme response and ResourceDictionary swapping for multi-theme branded experiences. This skill helps developers avoid common pitfalls, such as Android activity restarts during UI mode changes, and ensures that UI elements update correctly at runtime by enforcing the proper use of DynamicResources over StaticResources.
主な機能
01Automatic system-wide light and dark mode integration via AppThemeBinding
02Dynamic ResourceDictionary swapping for custom branded themes
03Platform-specific configuration for Android ConfigChanges.UiMode
04C# API guidance for manual theme overrides and system theme detection
05Best practices for using DynamicResource to ensure runtime UI updates
06103 GitHub stars
ユースケース
01Adding seamless light and dark mode support to a cross-platform mobile application
02Creating a white-label app that supports multiple branded color schemes
03Synchronizing app visuals with OS-level theme changes without losing navigation state