liveBook · Manning

Light/dark mode

As explained in .NET MAUI in Action

Dark mode is an interface appearance mode that uses a predominantly dark color scheme.

Dark mode is an interface appearance mode that uses a predominantly dark color scheme. It can reduce unnecessary eye strain during nighttime tasks and commonly responds to the operating system’s selected theme. section 10.1.2

MauiStockTake

MauiStockTake defines dark colors in Colors.xaml and applies them through shared styles. When the device changes between light and dark mode, AppThemeBinding updates the interface automatically. section 10.1.2

How .NET MAUI in Action covers it

How deep it goes
Explains palette resources and AppThemeBinding implementation, but stops short of detailed accessibility or color-contrast guidance.
Examples
Uses MauiStockTake, Colors.xaml, dark palette resources, gradients, shell navigation colors, and light-versus-dark interface screenshots.
What it assumes
Assumes basic .NET MAUI resource and style usage while introducing light-and-dark theme support through templates.
What you can do after
Apply it via .NET MAUI resource dictionaries and AppThemeBinding to build interfaces that follow system theme changes.
How it connects
Connects dark mode with light mode, themes, resource dictionaries, styles, and operating-system theme settings.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of .NET MAUI in Action. The section links point to the parts of the book it draws on.