Skip to content

Conversation

JVMerkle
Copy link
Contributor

@JVMerkle JVMerkle commented Dec 8, 2024

By loading the theme-switch earlier the nav bar background no longer flickers from bright to dark.

Steps to reproduce:

  1. Switch to dark mode
  2. Reload page (a couple of times)

By loading the theme-switch earlier the nav bar background no longer flickers from bright to dark.
@JVMerkle
Copy link
Contributor Author

JVMerkle commented Dec 8, 2024

This just "reduces" the symptoms, but I think the theme switch should be reworked somehow, e.g. loading it as early as possible (<head>). I notice other pages (posts) also flicker, this is very disturbing while in dark mode.

@apiraino
Copy link
Contributor

pinging myself as author of the dark mode patch (so I don't forget to look at it)

@apiraino apiraino self-assigned this Dec 18, 2024
@senekor senekor merged commit cfb4ce8 into rust-lang:master Dec 26, 2024
3 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.

4 participants