Svelte 5 is now at the Release Candidate stage, and the full release should be just around the corner. I have been using it with Astro as it was being developed, and am excited to see the final thing released. New features include:
if
and each
blocks; andKeen to hear your thoughts on the new features!
Saw this nice post on centring text in CSS by Niki. It’s not your typical skit on centring content within a div; instead, it looks at centring text on a line, how the default spacing above and below a font can seem arbitrary and how some apps like Figma solve the problem.
Capsize CSS is a fantastic typography tooling especially for this issue, giving you precise control on text layout. Capsize font metrics have data for Google fonts, and are also utilized in Fontaine to reduce layout shift.
In case you missed these, here is some content I have put together on using Capsize directly and in other packages:
Hope you find these useful!
Hope there was something valuable in here for you. As always, reach out with feedback. Here are some links to recent content, which I hope you will find useful: