Trying to get styled-system to work with solid-styled-system(goober) but it seem to be not working:
https://codesandbox.io/s/solid-goober-styled-system-emiq6?file=/index.js
Although, trying with emotion works:
https://codesandbox.io/s/solid-emotion-py2hy?file=/index.js
Any idea why?
Looks like Goober isn't serializing the object passed that way and just setting it to "object". I know it supports top-level object functions. I want to verify it with a different library with Goober like preact and they are in the process of winding up for 2.0.0 release. But I will look at opening up an issue on Goobers repo.
Ok confirmed this is functionality they do not have currently. While you can pass in object form top-level it currently isn't supported nested in templates. I've opened up an issue. https://github.com/cristianbote/goober/issues/136
Hey there, pushed a new version 2.0.9 which now interpolates/compiles the objects inside the tagged templates as well. Hopefully this will get it going 馃憤 if not please let me know so I can address it.
Hi @cristianbote, thank you for the update.
@ryansolid can we please bump the goober version on the solid-styled-components package?
Sure no problem I can do that tonight.
So happy to close this one. v0.21.1. Enjoy.
Thanks @cristianbote.
Most helpful comment
Hey there, pushed a new version
2.0.9which now interpolates/compiles the objects inside the tagged templates as well. Hopefully this will get it going 馃憤 if not please let me know so I can address it.