Skip to content

Comment on Primer – CSS toolkit and guidelines that power GitHubparent

Comments

It's a common(?) browser setting. E.g. in Firefox go to "Preferences > Content > Font & Colors / Advanced". It's useful for preventing websites from forcing font sizes that are too small for your display (e.g. in my case a 14" Full-HD panel).

Ideally no website would (1) change the base font size or (2) set fonts below 0.8em of base font size. Unless it intentionally wants unreadable text.

Alternatively I believe there are some high dpi related settings coming into the browsers to adjust the global "pixel size". That would "solve" the problem but really we shouldn't have been in this situation in the first place. Setting a pixel font size is just a stupid idea, obviously.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.