docsify-darklight-theme icon indicating copy to clipboard operation
docsify-darklight-theme copied to clipboard

White screen flicker issue in dark mode

Open Aashiq25 opened this issue 2 years ago • 0 comments

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.

https://user-images.githubusercontent.com/44645166/218874103-676d74a8-19ae-4945-a57e-4215137d8fff.mp4

Aashiq25 avatar Feb 14 '23 22:02 Aashiq25