WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

[Suggestion] Add a list of lightweight styling brushes to control documentation

Open citelao opened this issue 1 year ago • 1 comments

Issue type

enhancement

Which version of the app?

WinUI 3 Gallery

Description

It is very hard to know what lightweight styling brushes are available for a given control. Can we automatically deduce a list of brushes for each control?

Screenshots

No response

Windows version

No response

Additional context

No response

citelao avatar Oct 18 '23 15:10 citelao

I've written a proof of concept!

See #1426! Unfortunately, it currently uses string prefix matching, which seems less-than-ideal. I'd also like to have some sort of visualizer that shows how each of the resources are used... (potentially: a grid of buttons in the different states; hovering any of the resources will "highlight" it on those buttons, simply by changing that color to white).

grid of lightweight styles, with swatches of each color, on the Button page

citelao avatar Jan 12 '24 20:01 citelao