Skip to content

Documentation is flickering on light theme #49648

Closed
@pravic

Description

@pravic

I have noticed it with nightly and now it is in stable documentation.

It looks like a dark theme has become the default now, but users of the light one now are experiencing some very annoying flickering on each page load: it starts to load in dark theme and then switches to the light one.

Funny enough, it only happens with Chrome-based browsers (the old good Opera does not have this issue).

P.S. Firefox (Windows, Ubuntu) does not have such issue, too.

Is there a way to reduce such behavior? May be switch to the preferred theme a bit earlier?

@rust-lang/docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions