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
Bootstrap has a data-bs-theme attribute that can be applied to the body of the HTML doc, with either dark or light as a value. This can be used to toggle between dark and light mode very easily. This will require me to restructure classes throughout all templates, to remove the many direct references to dark and text-white classes.
This will be used to provide an admin-configurable default, and to provide users with a button to change their "mode" with simple JS, and retain the setting with local storage or sessions.
The text was updated successfully, but these errors were encountered:
Bootstrap has a
data-bs-theme
attribute that can be applied to the body of the HTML doc, with eitherdark
orlight
as a value. This can be used to toggle between dark and light mode very easily. This will require me to restructure classes throughout all templates, to remove the many direct references todark
andtext-white
classes.This will be used to provide an admin-configurable default, and to provide users with a button to change their "mode" with simple JS, and retain the setting with local storage or sessions.
The text was updated successfully, but these errors were encountered: