Skip to content

fix flash effect #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix flash effect #48

wants to merge 1 commit into from

Conversation

pulnip
Copy link

@pulnip pulnip commented Jul 12, 2025

When the issue occurs

If localStorage.theme is set to 'dark' (i.e., not the default theme),
a transition (flash effect) happens whenever you navigate to another page (or refresh).

How it was fixed

Added a theme-transition helper class
which is only applied when toggling the theme.

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.

1 participant