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

Add Dark Mode color theme for Dashboard #1031

Merged
merged 1 commit into from
Aug 6, 2023
Merged

Add Dark Mode color theme for Dashboard #1031

merged 1 commit into from
Aug 6, 2023

Conversation

bensheldon
Copy link
Owner

@bensheldon bensheldon commented Aug 6, 2023

Closes #974

  • Updates Bootstrap to v5.3.1, which has "color modes" built in
  • Adds 3 new SVG icons. I'm considering at which point I want to pull in the entire icon font (which is 121kb to pull in the woff2 package)
  • First time creating a Stimulus controller, though the Dashboard has been vendoring it for a while. To avoid a flash of styling this also required embedding some javascript in the html head element.
  • Replaces the "Live Poll" checkbox with a Bootstrap-themed "switch" which looks fancy.

Screenshot 2023-08-06 at 10 13 04 AM

@bensheldon bensheldon added the enhancement New feature or request label Aug 6, 2023
@bensheldon bensheldon merged commit a8767bb into main Aug 6, 2023
19 checks passed
@bensheldon bensheldon deleted the dark_mode branch August 6, 2023 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

Dark mode for the dashboard ?
1 participant