Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> How do you feel about the coupling of "text-sized icons" to the size of text?

You got me there. :)

This is one place where I break "convention", but only because I view icons as glyphs. So maybe the REM rule can be generalized to glyphs and not text. I typically just set icons to be 1rem. Any other size I typically specify in pixels however, as the coupling for me only makes sense as long as the glyph is glyph-sized.

> Does an icon next to a label make the icon's size font-related in your view?

Yeah, if it's an inline glyph. If the icon and label are vertically stacked however, I'm more inclined to use pixels.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: