Dark mode inconsistency between main site and Issues section

Hello,

I noticed a UI inconsistency while navigating the Django website.

When dark mode is enabled on djangoproject.com, the theme works correctly across the main pages. However, after clicking on the “Issues” section (code.djangoproject.com), the dark mode is not preserved and the interface switches to a light theme with a different visual style.

This creates an inconsistent user experience when moving between the main site and the issue tracker.

I would like to know:

  • Is this expected behavior?
  • If not, I’d be happy to help investigate or work on a possible improvement.

Thank you.

This is “normal” because it’s not the same application, code.djangoproject.com use Trac which on another repository than the website itself.
This means that there is a need for additional styles to implement dark mode on the issue page.

I started to work on it and I have never finished so if you want to work on that, this is possible and I’m happy to provide guidance.

1 Like

Thank you for the clarification.

I would be happy to start working on this with your guidance. Please let me know how I should begin or if there is any existing work, branch, or direction I should follow.

Looking forward to contributing.

1 Like

Amazing! Sure, first you can start to clone the repository and follow instructions to setup the project locally.

My branch is really really old so you can start from fresh. If you are not familiar with Trac, you can find the documentation here: TracTickets – The Trac Project

If you managed to have everything setup and working properly, we can have a chat on what to start and things to take into consideration :slight_smile:

Thank you for the guidance.

Before I proceed, could you please let me know if there is an existing ticket or related work in Trac for this? If not, should I create a new issue to track the dark mode support for code.djangoproject.com?

I’d like to make sure I follow the correct process.