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 support #5658

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

abe-101
Copy link
Contributor

@abe-101 abe-101 commented Jan 28, 2025

Fix #5629

Description

Checklist:

  • I've made sure that tests are updated accordingly (especially if adding or updating a template option)
  • I've updated the documentation or confirm that my change doesn't require any updates

Rationale

Comment on lines 111 to +112
<script defer src="{% static 'js/project.min.js' %}"></script>
<script defer src="{% static 'js/theme-toggler.js' %}"></script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice if theme-toggler.js could be imported by project.js when using Gulp or Webpack. They will take care of bundling it nicely, I think.

crossorigin="anonymous"
referrerpolicy="no-referrer" />
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This need to be installed via npm when using Gulp or Webpack, and imported in project.scss:

@import '~bootstrap-icons/font/bootstrap-icons.css';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for bootstrap dark mode
2 participants