Skip to content

v1.8.5 — Font Vote: fix current-site body font detection

Choose a tag to compare

@ArsNovaSingers ArsNovaSingers released this 10 Aug 21:08
· 4 commits to main since this release

v1.8.4 read the live site's heading font correctly but returned Helvetica for body instead of Hergon Grotesk, because a plugin stylesheet's generic body reset was scanned after the theme's own inline declaration and won on last-rule-wins. Inline styles are now scanned last, and the winner is the last candidate backed by a matching @font-face — a self-hosted webfont being strong evidence of the real font. @font-face blocks inside inline styles are parsed too.