Hacker News new | ask | show | jobs
by alanh 476 days ago
For readability:

  html { font-family: system-ui; }
Consider https://alanhogan.com/bookmarklets#add_css to add this to the page. Code blocks are still shown in monospaced font. BTW, monospaced font for prose is an anti-pattern that you hackers need to relinquish, but whatever!
2 comments

It's clear that here using monospaced font is an artistic decision here.

Furthermore, using system-ui for anything that's prose and not a UI is an anti-pattern that UI designers love to make. It also makes the font dependent on system language, which makes things worse if the system language doesn't match the language of the page. https://infinnie.github.io/images/blog/bootstrap.png Even hardcoding it to something classic like Verdana (remember web safe fonts?) is much better.

> monospaced font for prose is an anti-pattern

Why?

Because they say so