I cant get them to look like in Figma. I suggest either adding the line dragging functionality from Figma, or giving use the ability to paste in the css code we get from the inspection tab of Figma. (eg: linear-gradient(210.55deg, #353132 -3.02%, #2B2627 93.08%) )
I also want to note that it took me a while to figure out, that there are no Style tokens for Linears (and you meant for s to use Background mixins).
Also, I don’t think one is able to remove a color inside a Linear. The back key just deletes the marked element.
In the meantime, I’m overriding those background in React.
though I’m still not satisfied with how it looks.
shadows or Linears always look smoother in Figma. And more “layered” when rendered by the browser (not because of Plasmic). Not sure why that is.
if you expand the grey boy you can see that it’s a linear and it has these layered lines that I was referring to, though you can barely see it because I only took a screenshot of a small section.
I said, that it is working… well… the sourceButton subcomponent isn’t scaling for some reason. All it’s values are em, but it doesn’t matter because the override is simply not taking effect.
Any ideas?
By default, the component wrappers we generate (SearchBar.tsx etc) don’t accept a style prop, only the className prop. But you can just add the style prop to SearchBox.tsx and pipe it to the root, and it should work!