Skip to content

Web Dev

Light Mode Doesn't Have To Be Terrible

We all know the feeling. You're browsing a site or using an app. It's black text on a perfectly white background. You don't notice until you click the dark mode toggle how painful it was. You can't imagine a circumstance where you would ever need the most blinding, bright #FFFFFF light in the galaxy shining directly in your face ever again, and from that day forward, in every app you use, the first thing you do is look for the dark mode. We all do it.

It raises the question, why do we even have a light mode option if the dark mode is objectively better? Is it so we can sell the dark mode as a premium feature? I'd say that adds up if more people were using that model.

What if I told you that dark mode isn't necessarily better?

The reason light mode is terrible is because UI frameworks that developers use to implement consistent design are doing it wrong.

Dynamically Rendering Content on Neocities

A common question that I see coming from new Neocities webmasters:

"Is there a way to edit all my navigation HTML at once or do I have to go through page by page updating all of them to add something to the menu?"


That is a great question and probably one of the first big questions you will have as you begin your journey into HTML and CSS.

The solution that I'm going to give you is the easiest one to implement, but it is not necessarily the best. But since you are new, we'll start with this very flawed approach that will work on your personal Neocities page and serve to introduce you to the somewhat problematic, messy world of JavaScript.