microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.33k stars 675 forks source link

Proposal: Provide Mechanism for Sharing Styling Resource from UWP Islands -> WPF #2319

Open SavoySchuler opened 4 years ago

SavoySchuler commented 4 years ago

Proposal: Provide Mechanism for Sharing Styling Resource from UWP Islands -> WPF

Summary

Styling resources are not capable of mapping back out from a UWP Island into Win32; which makes coloring/styling/theme awareness something that needs duplication across components and requires strict coordination to make changes to.

Rationale

E.g., see this PowerToys issue where, because the WPF TitleBar is not theme aware, an instance of PowerToys running in Dark Mode still has a Light Mode TitleBar.

Important Notes

Open Questions

chrisglein commented 4 years ago

@SavoySchuler Interesting problem. Do we have any potential solutions that have been put forward? Can you summarize what the customers like PowerToys would like to see here?