plibither8 / markdown-new-tab

🗒️ ⏰ ✅ Save notes in Markdown directly in the 'New Tab' page
https://mdnt.mihir.ch
MIT License
821 stars 64 forks source link

Adding Theme/Color Support #4

Open bdickason opened 6 years ago

bdickason commented 6 years ago

I saw in the todo (and HN post) that you'd like to add Color/Theme support. Do you have an idea of how you'd like this to work? I've got some spare time this evening.

plibither8 commented 6 years ago

Hey! Thanks a lot for wanting to contribute, I really would love it. Adding themes is certainly in my todo list. Right now, the page is completely based on vanilla JS (es6) in a single 'index.js' file. At first glance it might look messy (sorry!) but I think it's workable.

As of the implementation of the 'Theme Changer', I think it's best that we add it in the Settings modal. It will require use of localStorage() to save the preferences, and simple JS to implement the style changes. If you can, I would really appreciate it.

Thanks! :smile:

schroffl commented 6 years ago

Just being able to define the text- and background-color in the settings would be enough for me. I wouldn't want to change anything else but flipping the colors, because the white-on-black is a bit harsh on the eyes.

jef commented 4 years ago

i'd definitely would like to see this happen.