manuelroemer / Celestial.UIToolkit

A custom WPF toolkit which is inspired by a lot of the current design languages, including Microsoft's Fluent Design and Google's Material Design.
MIT License
39 stars 6 forks source link

Support for Dark Theme #88

Closed manuelroemer closed 5 years ago

manuelroemer commented 5 years ago

This PR adds support for theming in general from the Core library. This is done via two new classes called ThemeManager (which is responsible for changing an Application's theme) and a ThemeResourceDictionary (which reacts to theme changes and then injects specific resources into the application, depending on the theme name).

The toolkit library uses these classes to offer a Light and Dark theme variant.