I have a corner case where both dynamic resources (don't allow for converters) and custom markup extensions (only evaluated once) won't do the trick. I want to create gradient brushes based on faded variants of the current system colors. Those brushes should update themselves whenever the system's color theme changes, so that users don't need to restart the application in case they switch to an accessibility theme.
Is it possible to detect changes of the system's color theme at runtime within an WPF application? Some kind of event?