Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
panstromek
1y ago
0 comments
Save
Share
Well, there's still a compromise to be fair. It's defintely more work to manage these sprites and it's especially annoying when there's more than one state. I think it's possible to write some tool to automate it, but I haven't found one.
0 comments
1 comments · 1 top-level
top
newest
oldest
douglee650
1y ago
There are preprocessors that will do this. Conceptually, we would:
include sprite-1.snippet include sprite-2.snippet
and it would write the defs into the page. Then later in the page, `<use>` the defs you included.
j
/
k
navigate · click thread line to collapse