[SOLVED] Dark and light theme toggle

Hello, I’ve add a link in left panel to toggle between dark and light theme, but it’s not working properly when enable visibility breakpoint is set, when I click toggle, the panel becomes hidden, then if I resize window it appears again, what I am doing wrong?

here’s a example


Don’t set theme-dark on panel, setting it on <f7-app> will be enough https://codepen.io/anon/pen/YbjWKx

1 Like

well, that’s embarrassing, thank you