Posts, a community app by Read.cv

Thread
Dave Leal

Had to deal with some Figma bugs yesterday... Component icons weren't inheriting state variant colors (default, hover, active)... So I had to refactor the icon library to make sure there was only one layer named "path", per icon to match the root icon used in my primitive.

Dave Leal

But then, the stroke was the problem. Because it was scaled from a published lib (icons), the stroke wasn't retaining it's published weight and was way too thick . So I had to create sizing variants for each icon (lg, md, sm) to keep the stroke correct... Fun!

Dave Leal
Replying to @katiecooper

Thanks for the tip. Yeah it seemed to be a pretty common limitation that hasn't been addressed for a while. Looking forward to learn more from your tutorial

Katie Cooper
Replying to @daveleal

Yeah, I’m always running into override issues here and there.