Blog 6 min read

I redesigned my site, and now it's a different colour every day

A custom Jekyll theme, a daily colour scheme, a tiny text adventure, and a dice for when you don't like today's colour

today the site is colourful

My site had been wearing the same outfit for years. It was a perfectly nice outfit (the Cayman theme for Jekyll, with a blue-to-green gradient) but it didn’t really look like me.

The old portfolio: a blue-green header and a grid of identical cards

The old blog: the same header, darkened by a browser extension

Every card was the same size and the same grey. A deep dive into Cucumber had exactly the same weight as a crochet ball for my dog. Dark mode was done by a script called DarkReader, which recolours the page after it has loaded, so you’d get a flash of white and some slightly odd colours.

So i spent an evening redesigning it with Claude Code. I said what i wanted (and, mostly, what i didn’t want), Claude built it, and i nitpicked until i was happy. This is how it went.

The big idea: a new colour every day

A while ago i made Daily Color, which turns today’s date into a hex code. Every day gets its own colour, and everyone in the world sees the same one.

What if the whole site wore that colour? (The picture at the top of this post is the homepage on six different days.)

The catch is that the daily colour can be anything. Some days it’s a pale peach, some days it’s nearly black, and some days it’s a neon green that could guide aircraft in to land. Whatever the colour, the text still has to be readable.

Before touching the site, we built a little explorer page to try the idea against every day of the year:

A tool showing every day of 2026 as a colour, with a mini version of the site in light and dark mode

The rules we ended up with:

We checked every single day of 2026 and 2027, in both light and dark mode, and every bit of text passed. The script runs before the page is drawn, so there’s no flash of the wrong colour. Goodbye, DarkReader!

Building it

I wanted to stay on Jekyll and GitHub Pages, so the site is still plain old Markdown files. The difference is that it now has its own theme, built on klods, my tiny component library.

Here’s the first version:

The first version of the new homepage: a huge "Drue Wilding" heading on a raspberry header, and big blog cards

There’s a big chunky heading, and blog cards with proper images. The “today the site is #bc1056” pill is in my own handwriting, because i made my handwriting into a font a while ago and finally had a use for it.

Tags and a Cucumber series

I write about a few quite different things, so the blog now has tags: Testing, AI, Copenhagen, Drones, Making and Creative coding. Seven of my posts are about Cucumber, so they’re now a proper series, numbered in order, with a little fan of their cover images on the blog page.

The blog with a row of tags, the newest post, and the Cucumber series

Each post in the series has a box at the top showing where you are, with a handwritten “you are here”:

The list of posts in the Cucumber series, with a handwritten "you are here"

Notes that hang off the edge

Some tiles in the portfolio have little handwritten notes on them. At first they sat politely inside the box:

A note sitting inside the corner of a tile

I wanted them to hang over the edge, like a sticky note someone slapped on:

Notes hanging off the corners of the tiles

Tilting them gave me jagged edges, though. Browsers aren’t very good at drawing thin lines at an angle. I didn’t need to know why; i just said what i was seeing (“the line is a bit jaggedy”), and Claude went off and fixed it. It took a couple of goes, but they’re smooth now.

A 404 page you can play

If you go somewhere that doesn’t exist, you now end up in a tiny text adventure. You can look around, pick up a paint chip in today’s colour, and walk through doors back to the rest of the site. If the address you typed looks a bit like one of my posts, a signpost appears and points you to it.

A text adventure on the 404 page

Go and get lost to try it. (Old adventure game fans: try typing xyzzy.)

Roll the dice

Then i thought: what if you don’t like today’s colour? So now there’s a dice next to the pill. Click it and the whole site rolls a random colour, with the same rules as before, so it always stays readable.

Before rolling: a raspberry header, "today the site is #bc1056"

After rolling: a deep green header, "right now the site is #045942"

The pill changes from “today” to “right now”, and a “back to today” button appears when you want the real colour back. The colour sticks around while you click from page to page, until you close the tab.

Merlin’s Castle, front and centre

The thing i’m proudest of is my remake of Merlin’s Castle, the BBC Micro adventure game from 1983, so it now gets the biggest spot on the homepage:

Merlin's Castle as a big feature tile, with a painted picture of a crossroads

Tidying up

Finally, we added the projects that had been missing (klods, Queermoji, KnitThis and Det Danske Alfabet) and sorted everything into groups, so the page feels less like a pile of things and more like a set of shelves:

Projects grouped under "Useful things" and "Colour & CSS art"

What i learnt

If you don’t like today’s colour, you know what to do. 🎲