Daksh777 / TakeABreak

Tackle procrastination by using self-destructing tabs and boost your productivity.
https://breaks.eu.org
GNU Affero General Public License v3.0
74 stars 114 forks source link

added theme to localStorage #138 #151

Closed srivastavaritik closed 2 years ago

srivastavaritik commented 2 years ago

🛠️ Fixes Issue

closes #138

✔️ Check List (Check all the applicable boxes)

📷 Screenshots

image

📄 Note to reviewers (optional)

srivastavaritik commented 2 years ago

i have added the codes, please check

srivastavaritik commented 2 years ago

Switching the toggle off should also remove it from the local storage. Right now, switching off the toggle and reloading still keeps the toggle on.

I have added the codes, please check and merge

Daksh777 commented 2 years ago

If I disable the color theme, it still remains enabled, this needs to be fixed. Also, please pull the latest changes from the repo.