It has been pointed out that VR3 does not pick up dark Leo themes, like the current default EKRDark. Viewrendered, on the other hand, does. I've been looking at addressing this, and could use some help on a few things.First of all, I haven't been able to see how the Leo theme gets applied to VR. So far as I can see, VR emits html that has no css styling at all; presumably the pane somehow uses the theme's style sheet. But when I disable the normal stylesheet in VR3, the dark theme is not applied. You can see that it is applied to the overall pane itself (for example the toolbar, which is a QT Widget), but as the browser first paints you can see the background change from the theme's dark to the usual light background. Yet the code for loading and displaying the browser in the pane is basically identical between the two plugins.Somewhere I'm overlooking a difference. If anyone can help with this, I'd much appreciate it.
Leo Log Window
Leo 6.2.1 final
Python 3.8.6, PyQt version 5.15.0
linux
setting leoID from os.getenv('USER'): 'user'
current dir: /home/user/PyVE/PyPI/Leo-stable
load dir: /home/user/PyVE/PyPI/Leo-stable/lib64/python3.8/site-packages/leo/core
global config dir: /home/user/PyVE/PyPI/Leo-stable/lib64/python3.8/site-packages/leo/config
home dir: /home/user
reading settings in /home/user/PyVE/PyPI/Leo-stable/lib64/python3.8/site-packages/leo/config/leoSettings.leo
reading settings in /home/user/.leo/myLeoSettings.leo
reading settings in /home/user/Documents/SL2020.leo
read outline in 0.29 seconds
wrote recent file: /home/user/.leo/.leoRecentFiles.txt
saved: SL2020.leo
wrote: /home/user/Documents/SL/2020/11/CW45/LE-2020-11-06.html.txt
stylesheet not found <- !!!
/home/user/Documents/default.css <- !!!
@path: /home/user/Documents
open path: /home/user/Documents
wrote: /home/user/Documents/SL/2020/11/CW45/LE-2020-11-06.html
rst3: 1 files in 0.05 sec.