Skip to content
New issue

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

Implement dark mode/light mode #94

Open
zediious opened this issue Nov 5, 2023 · 0 comments
Open

Implement dark mode/light mode #94

zediious opened this issue Nov 5, 2023 · 0 comments
Labels
Enhancement New feature or request Front-End

Comments

@zediious
Copy link
Owner

zediious commented Nov 5, 2023

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.

@zediious zediious converted this from a draft issue Nov 5, 2023
@zediious zediious added Enhancement New feature or request Front-End labels Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Front-End
Projects
Development

No branches or pull requests

1 participant