MaterialDesignSwitchToggleButton background colour is hardcoded #1408
Labels
enhancement
good first issue
Items are good for new contributors.
Hacktoberfest
Items are good for new contributors during hacktoberfest. https://hacktoberfest.digitalocean.com/
up-for-grabs
Milestone
As best I can tell, the background colour on the "track" for the switch-style toggle button is hardcoded to
Black
. Since my app's background colour is close to black, this makes the default style of the switch toggle button unusable. I've tried to override the default style, so far without success - this is probably because I don't understand XAML style inheritance well enough to target the property correctly, but I wonder if perhaps it shouldn't be hardcoded toBlack
anyway, especially if the selected theme isDark
? What would be great is if it could just inherit theBackground
brush for the ToggleButton itself. This was my failed attempt at overriding:The text was updated successfully, but these errors were encountered: