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

Persist theme of the website #85

Closed
anuragxxd opened this issue Jan 17, 2023 · 4 comments
Closed

Persist theme of the website #85

anuragxxd opened this issue Jan 17, 2023 · 4 comments
Assignees
Labels
flag: good 1st issue Good for newcomers

Comments

@anuragxxd
Copy link
Member

Right now if we reload the website reloads with the default config i.e. with the light mode.

We can persist the theme of the website by storing the theme of the page in local storage/cookie so that on the reload or revisits the user sees the website with the persisted theme. On the initial render we can use the system theme mode as the default theme for the website.

@anuragxxd anuragxxd added the flag: good 1st issue Good for newcomers label Jan 17, 2023
@pandyamarut
Copy link
Member

@git-anurag-hub
Hi. Looks like I can have a solution for this. Can you please get me started?

Thanks

@pandyamarut
Copy link
Member

@git-anurag-hub @uniqueg

Hi Folks,
I have my PR ready, I want to push my code. How Can I get the access to push my code to this repository?

@anuragxxd
Copy link
Member Author

@pandyamarut Open a new pr from the branch you are on to the dev & tag me or Alex for the code review!

@uniqueg
Copy link
Member

uniqueg commented Jan 31, 2023

Resolved by #86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: good 1st issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants