{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreidb6eycham6v5ajd2n3mjq3bckcyglsrgt7phzlwhhhw73vg7emmq",
"uri": "at://did:plc:tg3tb5wukiml4xmxml6qm637/app.bsky.feed.post/3mjvwnykcec2m"
},
"canonicalUrl": "https://heaths.dev/general/2026/04/20/light-and-dark-themes-for-my-blog.html",
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreidphbalhxz4wokn36lbjsk7ce4abmq7fchra63vwdt676aiaakiei"
},
"mimeType": "image/jpeg",
"size": 275472
},
"description": "I added light and dark themes to my blog along with some responsive fixes on smaller screens with a little help.\n",
"path": "/general/2026/04/20/light-and-dark-themes-for-my-blog.html",
"publishedAt": "2026-04-20T06:48:45.000Z",
"site": "at://did:plc:tg3tb5wukiml4xmxml6qm637/site.standard.publication/3meddhkrg5z2p",
"tags": [
"blog",
"copilot",
"css"
],
"textContent": "!\\[A blog page shown in both light and dark themes side by side, using the Seattle Kraken color palette]\\({{ \"/assets/images/kraken-theme.jpg\" | relative\\_url }})\n\nMy posts will always be written by me, a human, sharing tips, personal news, and more.\nAnd though I started writing web sites before HTML 1.0 was formally standardized, I've never been good at design.\nMy blog used Jekyll Minima with a few overrides and I only recently updated it to 2.5, but was envious of the theming that 3.0 has in development.\nThough I really haven't touched much CSS since shortly after 2.0 was released, I knew the mechanics but wanted a little help prototyping some ideas quickly.\n\nTrying out themes\n\nIt probably wasn't obvious, but my previous color palette used Seahawks colors.\nI wanted to see what mixing those colors or other colors might look like for light and dark themes.\nWith some links to the color palettes I was considering - but haven't necessarily settled on for the foreseeable future - asked Copilot with Sonnet 4.6 to render a few.\nIt didn't take long - certainly faster than I'd have done it - and I was able to select a theme as a start quickly.\nI made a few tweaks and had it apply the changes with some color mapping instructions from the old palette.\n\nHaving been to several of their games with my son - who loves hockey - and my wife - who merely tolerated it but got a selfie with Buoy - I choose a Kraken color palette.\nThey put on one heck of a show at Climate Pledge Arena.\n\nIt took a few iterations to iron out the kinks. I would verify the responsive site in Safari's dev tools and batch several changes with explicit instructions.\nAs with any time I use an LLM to generate code, I review and recommend changes as needed.\n\nTheme switcher and responsive fixes\n\nWith separate light and dark themes, I next had it lay the ground work to switch themes and fix some responsive issues,\nlike certain buttons being too long on mobile viewports so I'd change the text to \"Subscribe\" instead of \"Subscribe on Sequoia\" in the sequoia-subscribe component.\nAgain, with a carefully crafted prompt, it didn't take long to generate the necessary changes that'd probably have taken me a couple hours.\n\nWith all changes reviewed and tested, I finally had a properly responsive and themed web site I've been wanting but just haven't found the time.",
"title": "Light and dark themes for my blog"
}