Konloch Software

Dark Mode

Published 08/08/2024

Progress on the website has been going along great. I’ve tried to keep it without Java-Script up until this point. As far as I can tell, to make Dark Mode painless to implement it’s needed.

I played around with a few prototypes for functionality and design, in the end I’m really happy with the results.

  • I could have done it through static pages, my initial idea was to create a /dark/ section of the website, but then it would affect URL linking.
  • Another thought was to make it automatic through the browser via CSS, but I wanted a button that changed the mode.
  • Eventually I settled with using Java-Script, and I’m glad I did, it was painless to add.

Dev Notes:

  • CSS and JS are now browser cached.
  • Automatic category generation has been started, so I don’t have to manually add tags or categories, the idea is this platform will do those things automatically for me.

Side Notes:

  • Implementing the SVG light-blub to change color was really fun and the final touch to the dark mode project.
  • Offline Editing is absolutely the best choice for this project. I’m able to post-date a lot of my past work easier than with an online option.