MahApps.Metro icon indicating copy to clipboard operation
MahApps.Metro copied to clipboard

New brush resource for icons

Open Dotnetifier opened this issue 11 years ago • 0 comments

I used the icons in an element whose Background is set to AccentColorBrush, which renders them less visible (pun not intended) as they become dark-on-dark. I countered this by remapping BlackBrush to IdealForegroundColor in this containing element, but this raised another problem: tooltips became all-white on some accents because the text color is mapped to BlackBrush as well.

Could it be a good idea to create a new Brush resource like IconBrush that can be redefined without further consequences for other controls? Before I make a PR for this (okay, it's just Find/Replace) I'd like to know if it's a good idea, considering compatibility with older MAM releases.

(Also, it might be useful to set x:Shared="False" on the icon Canvases, so they can be used in multiple places.)

Dotnetifier avatar Apr 29 '15 14:04 Dotnetifier