In the list of change requests, regarding font sizes Dave asked: “Also if you can make it so those values can be changed in the browser. The way they have it set up, I can’t play with via the debugger, and that’s much faster than going back and forth in the editor.”
The font sizes in the base Retrospect theme are set using CSS variables. I’ve never worked with CSS variables before, so I asked my friend ChatGPT 4o: “In the Chrome dev tools, I am viewing a site where the font-size is set with a css variable. How can I try out a new font-size in the dev tools?”
ChatGPT answered:
Nice — Chrome DevTools is great for this kind of experimentation! If the font-size is set using a CSS variable, you can easily test a new value by overriding that variable or applying a direct style.
Here are your options:
The element has this style:
font-size: var(--wp--preset--font-size--small);
--wp--preset--font-size--small: 24px;
You’re directly changing the variable value — everything using it will update.
🔁 If multiple elements use that variable, they’ll all reflect your test size immediately.
If you just want to test the result on a single element without affecting others:
font-size: 24px !important;
This overrides the variable usage completely.
:root or bodySome variables are defined globally on the :root or body element. You can go to the Styles pane for html or body, find the declaration like:
:root {
--wp--preset--font-size--small: 16px;
}
And change it there to:
--wp--preset--font-size--small: 24px;
That updates the variable site-wide — great for testing global changes.
If you hover over the computed font-size in DevTools, Chrome will show you:
I implemented Dave's Change #2 first, as it was the easiest to do.
Update
If I intend to use WordLand permanently, it would be silly to have a site named wordland-test.shanson.de. So I'm changing the name to wordland.shanson.de. Let's see if that breaks anything. 😃
So I didn't really break much of anything.
This time last year, my wife was preparing for emergency heart surgery and we had no idea why. Her pulse was racing, she was short of breath, and the cardiologist said she had the heart of an unhealthy 80-year-old (she was 60 and healthy). The song "Beautiful Things", released 6 weeks before, was a reminder of how fleeting the good things in life, and even life itself, can be.
Please stay
I want you, I need you, oh God
Don't take
These beautiful things that I've got
A few days later we had the answer, and the solution. She had been born with a bicuspid aortic valve, with two flaps instead of three. Her aorta had expanded over the years to compensate, but was starting to become clogged. The valve was replaced, and today she is as good as new.
That was a year ago Friday, and this week we will be travelling to Lanzarote (Canary Islands, Spain) to celebrate her new first birthday.