RetroFed Forums
Your home away from modern life.
The best way to use icons in Web UIs
Post Reply
AuthorMessage
codeinabox programming.dev codeinabox@programming.dev
Joined: 2025-09-29
Quote

5   Original
mmmm sopuli.xyz mmmm@sopuli.xyz
Joined: 2025-04-07
#2 · Quote Reply

I always have found her highly opinionated (and sometimes even pedantic) but with interesting thoughts. However here I feel she's solving a problem that doesn't exist. Yes, the mask hack is still a hack and styling svg pseudoelements should be a problem that CSS should solve, but there is no better way to author icons than SVG. You can inspect them, tweak them, change them in any way you like with the aid of webtools in your browser as you would do with regular HTML. Moving all of that to the stylesheet just because "they are design tokens" just adds a huge layer of clutter to the already bloated modern CSS stylesheets.

6
Post Reply
Back to top