Programming for fun and profit

A blog about software engineering, programming languages and technical tinkering

Wed 25 October 2023

A new dark theme for the blog!

Posted by Simon Larsén in Blog   

If you've ever visited my blog before, you'll notice it looks a bit different. I finally took the time to make a dark theme! Only 5 or so years late to the party. But late or not, I have a new theme to show off, so let's have a look!

Before and after

I only put a couple of hours into trying out different colors and contrasts, so this is still a bit of a work in progress. But I can't say I'm not pleased. Let's have a look at what it used to look like.

The site with the old light theme

So, that doesn't look terrible in any way, but it doesn't fit the "programmer aesthetic". It doesn't fit my aesthetic. The new theme is much more "me", and although you should already be seeing it all around here, here's the same image as above with the new theme.

The site with the new dark theme

Much better! There are still a few rough edges, and I keep finding details where the old theme isn't being overridden correctly (because this is all just on top of Bootstrap), but it's all mostly there.

Parts of the puzzle

There are really only two parts to this. I'm still using the same voidy-bootstrap theme as before, but I rewrote some of the CSS with the somewhat Halloween-looking experience you're looking at right now. Which is fitting, considering Halloween is just around the corner!

The second part is the fantastic dracula theme for Pygments which gives the neat colorization of code snippets. That I find to be the single largest improvement.


That's all there is to it, enjoy the new theme!