Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.31 KB

README.md

File metadata and controls

15 lines (11 loc) · 1.31 KB

Dynamic Styling in .NET MAUI

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

Examples

Purple - Light Purple - Dark Red - Light Red - Dark