Dark Mode is all the range with desktop and mobile OS’es right now. Interestingly, modern browsers can detect the OS dark mode preference, and use a different set of CSS styles respectively for light or dark modes! Here’s how I updated My custom Grav theme.
I’m usually quite pedantic when it comes to minimizing code and optimizing web page performance. I was a bit surprised to find that this blog’s page speed was far from ideal! Google PageSpeed Insights returned a very low score for this blog. Back when I started this blow, I must’ve neglected optimization, as I was too busy learning Grav, modifying my template, etc.
I opted to install Grav via the ZIP package, as documented here. My hosting provider does not give me shell access, so I would not be using git or the Grav Package Manager (GPM), but limiting myself to FTP or the cPanel File Manager.