benruehl / adonis-ui

Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals
https://benruehl.github.io/adonis-ui/
MIT License
1.69k stars 143 forks source link

Resource not found; ResourceKey='TargetType=AdonisUI.Brushes ID=Layer0BorderBrush' #202

Open ividyon opened 1 year ago

ividyon commented 1 year ago

Describe the bug When moving between Light and Dark scheme as per the instructions in the AdonisUI documentation, the debug output pops up the line:

System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='TargetType=AdonisUI.Brushes ID=Layer0BorderBrush'; ResourceKey.HashCode='-1902239436'; ResourceKey.Type='System.Windows.ComponentResourceKey'

many times each time.

I can imagine this leads to some accent color missing somewhere.

To Reproduce Steps to reproduce the behavior:

Expected behavior No warnings.

Screenshots

image