Skip to content
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

Move theme storing to local storage #4902

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

phamduylong
Copy link

So I realized that theme was being stored in sessionStorage and it was not persisted after each visit to the site. This PR does 2 things:

@shiftbot
Copy link
Contributor

👋 I'm a robot checking the state of this pull request to save the human reviewers time. I don't see any changes under _data/projects/ so I don't have any feedback here.

As you make changes to this pull request, I'll re-run these checks.

@phamduylong
Copy link
Author

@shiftkey Sorry for not discussing this beforehand, but what do you think about this change? It's a bit annoying that the theme keep switching back to light theme when I open the page tho I set it to dark on the last visit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants