Skip to content

Hotfix: Darkmode fixes#107

Merged
izmalk merged 3 commits into
mainfrom
hotfix-darkmode
May 8, 2026
Merged

Hotfix: Darkmode fixes#107
izmalk merged 3 commits into
mainfrom
hotfix-darkmode

Conversation

@izmalk
Copy link
Copy Markdown
Collaborator

@izmalk izmalk commented May 8, 2026

  1. Fix a bug with Dark mode stopped working suddenly after some unrelated changes.
    a. The theme-toggle script was loaded multiple times. One time due to the proper import in init.py in extra_js and many more times due to being included in the layout.html template (once for each JS added). My best idea - if it loads an even number of times - it cancells itself out.
  2. Fixed the white flash happening when opening a new page in a dark mode.

Fixes #96

@izmalk izmalk self-assigned this May 8, 2026
Also fixes the additional light mode flash problem
@izmalk izmalk merged commit deab4c4 into main May 8, 2026
2 checks passed
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.

[Dark theme] Navigating between pages causes flicker between light & dark theme

1 participant