This week felt like spring for the first time this year, which is awesome. A client project that was on hold for a very long time finally got some traction again and we made some progress on picu & more. A good week, overall.
🗄 Modern Font Stacks
This has been shared seemingly everywhere this week, but it would be a shame not to include it here as well. It’s like an extended version of System Font Stack or, in their words: “System font stack CSS organized by typeface classification for every modern OS – The fastest fonts available. No downloading, no layout shifts, no flashes — just instant renders.”
🔧 UX Glossary
The UX Glossary by Built for Mars is “A collection of psychological biases, design principles and UX concepts that affect the product experience.” – Nice!
🔥 Parsing HTML using the HTML API coming in WordPress 6.2
In WordPress 6.2, there will be a new HTML API, which lets you parse HTML and add, change or remove classes and other attributes to HTML, without relying on Regular Expression or DOMElement. Nice!
WordPress.org – Introducing the HTML API in WordPress 6.2
Adam Zielinski – How to Modify HTML in a PHP WordPress Plugin Using The New Tag Processor API
🧩 Embracing theme.json
Brian Coords wrote about how they started to embrace theme.json as their source of truth and the challenges that come with it.
Brian Coords – Embracing theme.json, kicking and screaming
Change that Font!
Love the playful, animated “Change that font!” interaction on Doug Wilsons site (even though it doesn’t seem to respect the users
prefer-reduced-motion settings). Find it at the bottom of the page and try for yourself.
😎 Have a nice weekend!