This project demonstrates how to apply dynamic styling in .NET MAUI .
It organizes Color Schemes into resources called PurpleScheme and RedScheme.
Uses AppThemeBinding
and DynamicResource
to reflact changes in your UI.
Color scheme switching is happening in the SetColorScheme
method called from the button click handler.
To generate colors use any generator online or Material Theme Builder plugin in the Material Design 3 Kit plugin in Figma.
Go to Resources
(top left corner) -> Plugins
-> Material Theme Builder
Purple - Light | Purple - Dark | Red - Light | Red - Dark |
---|---|---|---|