Using the Fluent XAML Theme Editor
We've seen how easy it is to pick up the default color and theme resources from the user's Windows settings, but what if you or your company wants to create a custom theme for an application. Maybe that theme needs to be shared across a suite of applications. You could create a XAML file with ResourceDictionary
in Visual Studio and code all the markup by hand for a new style. Visual Studio's IntelliSense will help in some regards. However, there is an easier way.
Microsoft has created an open source tool called the Fluent XAML Theme Editor. It is available on the Windows Store at https://www.microsoft.com/en-us/p/fluent-xaml-theme-editor/9n2xd3q8x57c, and the source is available on GitHub here: https://github.com/Microsoft/fluent-xaml-theme-editor. This application provides an easy-to-use visual designer to create a ResourceDictionary
XAML that you can drop into your projects.
Note
The Fluent XAML Theme Editor adjusts the styles...