You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to figure out a way to make the template not use any javascript if you set a constant theme coloring.
Not sure if this is possible, but going to be working on trying to get this working in a fork.
One thought was setting the default to "light" and depending on the user's web browser client/viewer to auto dark mode site
The text was updated successfully, but these errors were encountered:
I am using this template but would like to provide a no javascript version of my site by default
When configuring the main config with an explicit theme I would have expected the themetoggle javascript resource wouldn't be included
Relevant theme logic in the header.html template where themetoggle.js is linked:
apollo/templates/partials/header.html
Lines 136 to 165 in 577d9b0
When setting an explicit theme the only reason themetoggle.js is included is to set a local storage attribute
apollo/static/js/themetoggle.js
Lines 1 to 3 in 577d9b0
I would like to figure out a way to make the template not use any javascript if you set a constant theme coloring.
Not sure if this is possible, but going to be working on trying to get this working in a fork.
One thought was setting the default to "light" and depending on the user's web browser client/viewer to auto dark mode site
The text was updated successfully, but these errors were encountered: