Athou / commafeed

Google Reader inspired self-hosted personal RSS reader.
https://www.commafeed.com
Apache License 2.0
2.82k stars 377 forks source link

Follow system/browser dark/light mode #1083

Closed antivirtel closed 11 months ago

antivirtel commented 1 year ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Is there a way to get Commafeed and the extension to check what mode the OS/Browser is in currently, and follow that? Usually called follow system.

Describe alternatives you've considered Set it manually.

Additional context https://github.com/Athou/commafeed-browser-extension/issues/1

Athou commented 1 year ago

There is a way, but I'm wondering what happens when you click on the "Switch to light/dark theme" button in the menu. Since that value is stored in the localStorage, it's restored the next you visit the app. How would you go back to the "system preferred" setting?

antivirtel commented 1 year ago

There are usually 3 options in the settings. Dark/light & follow system. I'd also store it remotely, not just in the local storage. - I'd also default to system.

Athou commented 11 months ago

Done! Still saved in the local storage for the moment though.

image