Menu

We preload 52 KB of our brand typeface on every page, and the browser renders the system font
📰

We preload 52 KB of our brand typeface on every page, and the browser renders the system font

DEV Community: css·Daniel Pertu·5 days ago
#VOpVjQ9A
#devtocss#devto#dev#font#geist
Reading 0:00
15s threshold

Open any page of our marketing site, for example the FAQ , and paste this into the console:

getComputedStyle ( document . body ) . fontFamily

Enter fullscreen mode

Exit fullscreen mode

You get this:

ui-sans-serif , system-ui , sans-serif , "Apple Color Emoji" , "Segoe UI Emoji" , "Segoe UI Symbol" , "Noto Color Emoji"

Enter fullscreen mode

Exit fullscreen mode

That is Tailwind v4's default sans stack, untouched. Our typeface is Geist. It is not in that list, and it is not in any other list either:

new Set ( [ . . . document . querySelectorAll ( "body *" ) ] . map ( e => getComputedStyle ( e ) . fontFamily ) ) .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.