If it isn't possible already I am hoping that it would be possible to add a configuration option to the treeView. A simple boolean 'darkMode' could change to and from light/dark.
I have tried playing with the css and adding classes but it ends up messing up the treeview item highlighting.