The site uses cookies that you may not want. Continued use means acceptance. For more information see our privacy policy.

Working on a new theme.

The joy of blogging?

The image is my placeholder for a default thumbnail. A recent update to WordPress made it so my editor styles aren’t applied, so I’m writing this on a white background with black text. Not my favorite.

I know that so-called block themes (made up of WordPress blocks rather than being PHP-first) is the general direction of the WordPress ecosystem, so I decided I’d start working on one. It’s a mixed bag, so far. The documentation ranges from adequate to not so much, and the search results on popular search engines is polluted by years of the old system, such that trying to understand how to do a thing means you’re more likely to be told how you used to do the thing.

The idea of building everything in the site editor is intriguing but not there at all in terms of feature completeness. WYSIWYG (wizzy-wig, or what you see is what you get) has never been true to its awkward acronym, and that remains true in WordPress-land. I try to do more via theme.json and building parts, patterns, templates, but that’s also not great.

One of the biggest drawbacks is how little basic knowledge of HTML and CSS translate to the new stuff. Rather than leaning on that built-up knowledge, the keywords and systems are their own designs within block themes, meaning you have to dig around to figure out how to say the thing you can already say perfectly fine in the common languages of the web.

I’m trying to go with a slightly-dark background with dark text, so it won’t be white, but I won’t have a night/day pair of values to deal with. That’s always a challenge, because for color contrast you can’t go too close to a middle-brightness or you paint away too many values to be functional.

But yeah, the placeholder thumbnail is something I want because many of my oldest posts never had what’s sometimes called a post thumbnail, sometimes called a featured image. And you’d think that WordPress, out of the box, would have some way to define that fallback. You’d be wrong. It’s something that has to be implemented via a plugin or extra efforts as part of the theme.

I don’t really understand that design philosophy of “the obvious feature is not available except by add-on code,” but just have to deal with it, along with using explicit-css-in-json in theme.json, struggling to decide whether to define things on the elements globally or as the elemental children of a core block, and wondering why adding borders to post thumbnails showed up in the site editor but not on the page. Among other things.

Maybe next week you’ll see this site with a shiny new coat of block theme, maybe it’ll take longer. Only one way to find out.

Art: Playing card.

The suit of cards makes the cardman?

I play a bit of solitaire on my computer. It’s a good little game. On GNOME, the Aisleriot Solitaire (GNOME Wiki: Aisleriot Solitaire) program actually has a ton of different forms of solitaire besides Klondike, and it also has support for different card styles.

I want to make my own card style, but I’m still trying to figure out what I want to make, so I figured I’d throw together a card just to think about it some more.

I’d like to come up with different suits to use besides the common clubs, diamonds, hearts, and spades. But that’s rather open-ended. I don’t want to depart from the traditional card format entirely, and I don’t necessarily need to draw the new suits myself (there’s a decent selection of iconic symbols available from fonts, after all).

I do plan to make the card faces dark, or at least not white, but color particulars are also open-ended.

My first thought was to do some kind of tech suits, so I whipped up an oldschool floppy icon, and then I tried to think of three others. I thought of a 8P8C/ethernet connector, a CPU, made those, but felt it’d kind of bland so I stalled out a bit.

I thought about something more cyberpunk, like using the radiation symbol, the biohazard symbol, and two others, but what two others?

It’s a tricky problem, because you need four things that are either tenuously related or better, or completely unrelated. I mean, the traditional suits aren’t something you’d find together. The main thing they have going is being nice symbols.

I also considered doing something different with the usual suits, like making the diamond into something more crystal-like, the heart non-symbolic, or a robot theme where the heart is an oil pump, the diamond a power crystal.

I don’t have an answer, and I may never actually make a deck theme, but I do find it an interesting design problem.

Art: Easter Egg 2024.

Easter would be cooler if the eggs all hatched.

I tried to draw an egg last year, though not for Easter. This one is okay. Making an egg shape is actually very difficult. I tried carving one out of wood once, and I never got that sucker to look right.

That’s one of the seven wonders of the ancient Easter: the incredible shape of an egg. It’s not a sphere. It’s not a football. It’s almost a sphere at the bottom, but it’s some kind of ellipsoid at the other end and they meet seamlessly.

Ah well, I can always try to make a better egg shape next year.