Skip to content

White screen flicker issue in dark mode #45

@Aashiq25

Description

@Aashiq25

To reproduce do a hard refresh or continuously refresh for >2s.
This is caused since we cannot set the CSS attributes based on the theme (stored in local storage) before the DOM being rendered. Have attached a sample video for reference.

In docsify-themeable this has been handled and they can set the previously stored theme. Let me know if you have any possible solution for this issue am happy to contribute as well. Thanks.

Screen.Recording.2023-02-14.at.4.43.56.PM.online-video-cutter.com.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions