We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Javascript to toggle dark and light theme on a webpage on a button click. Also somehow store the theme preference.
Instead of using more than one CSS file to switch themes, use the html_theme_options variable to set options for the dark theme.
html_theme_options
html_theme_options = { 'dark_theme': { 'text_color': 'white', 'background_color': 'black' } }
The text was updated successfully, but these errors were encountered:
Uneccesary complexity
Sorry, something went wrong.
So Implementing this now, JS overload
No branches or pull requests
Use Javascript to toggle dark and light theme on a webpage on a button click. Also somehow store the theme preference.
Instead of using more than one CSS file to switch themes, use the
html_theme_options
variable to set options for the dark theme.The text was updated successfully, but these errors were encountered: