ghost1372 / HandyControls

Contains some simple and commonly used WPF controls based on HandyControl
https://ghost1372.github.io/
MIT License
1.07k stars 102 forks source link

Calendar related controls foreground not overridable #211

Closed heisenberg-cooks closed 6 months ago

heisenberg-cooks commented 11 months ago

Describe the bug

None of the brushes defined in colorsdark and colorslight allow overriding the foreground of the calendar items (e.g., days when looking at month view). So far, this seems to be the only extended control that has this issue. I am using my own custom theme manager, and i have copied all of the brushes defined in themes folder.

If i explicitly load "Dark" theme before using my theme manager, the calendar looks fine, but if i switch to my "light" theme, the text color does not change.

I'm pretty sure this control's text foreground wasn't hooked up to a brush.

Steps to reproduce the bug

  1. Add calendar node
  2. Add override for one of the foreground brushes (not sure which one but i've tried them all and nothing changes the color).

Expected behavior

A brush within brushes should be able to override the foreground of the text in the calendar related controls.

Screenshots

image

NuGet package version

HandyControls (Custom version) 3.4.5

IDE

No response

Framework type

No response

Windows version

No response

Additional context

No response

ghost1372 commented 6 months ago

report it in original repo