Skip to content

Dark theme blinks on refresh #1995

@lex111

Description

@lex111

🐛 Bug Report

When loading a page with dark mode turned on, a light theme is visible for a while before the previously selected dark theme is applied.

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

  1. Select dark theme in navbar
  2. Reload (F5 or Ctrl + R) any page

Expected behavior

A dark theme should be shown right away

Actual Behavior

For a second or so, a "regular" light theme is showed, and only then a dark theme:

AwesomeScreenshot-2019-11-14-1573758888334

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its execution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions