amitmerchant1990 / notepad

:ledger: An offline capable Notepad PWA
https://notepad.js.org
MIT License
214 stars 64 forks source link

the dark/light theme toggle is not working as expected #47

Open iamheavymetalx7 opened 1 hour ago

iamheavymetalx7 commented 1 hour ago

the dark to light theme version works fine, but once user gets into light theme mode, the user is unable to move to dark mode. even after multiple clicks it is not working.

I am open to working and fixing this bug.

iamheavymetalx7 commented 1 hour ago

@amitmerchant1990

iamheavymetalx7 commented 1 hour ago

Note: I tried this on firefox, the bug is not present there. but on chrome it is present

amitmerchant1990 commented 50 minutes ago

I don't think so. I've tested this on multiple OS and browsers and it seems like it's working flawlessly.

Also, this feature has been there for quite a while now but I haven't heard from anyone else.

However, check the console and see if there's any error and if that is the case, send me a screenshot of it.

iamheavymetalx7 commented 21 minutes ago

Hi amit, there no errors on the console. I will share a video of the same: Link

Current OS: macOS 15.1 (24B83) Chrome Version: Version 131.0.6778.69 (Official Build) (arm64)

amitmerchant1990 commented 10 minutes ago

I just tried it with Chrome on macOS. No issues whatsoever.

https://github.com/user-attachments/assets/90322e46-11ab-432f-b870-75b367d6200d