I am currently working with FastGridTemplate, but the toggle theme buttons have not toggled the theme for any of my projects on any template. In all cases, I have used .show() or .save(‘file.html’) to test my projects.
The toggle button switches sides and then returns to where it previously was. It is as if the template is not finding the theme to switch to so it reverts back to what it is already using and reloads the page from scratch (all of the plots and widgets reset state).
Try servable for the preview button to work, to have it working in own tab in browser I believe you need to have it launched from own server so I do it from command line I’ll update shortly what I do.
import panel as pn
pn.extension()
pn.template.FastListTemplate(
site="demo",
title="demo",
main=[pn.pane.Markdown("test")],
).servable()
In a windows machine I’ve installed miniconda where I then create virtual environments for my projects, when I’m working I generally have two prompts open, one to run jupyter lab and the other to launch my app I’m aware of other ways but I’ve just settled for this because works nicely for myself.