solidjs / solid-styled-components

A 1kb Styled Components library for Solid
MIT License
280 stars 26 forks source link

translate function "repeating-conic-gradient" into JS object #49

Closed ndrean closed 1 year ago

ndrean commented 1 year ago

Seems that the function repeating-conic-gradient cannot be camelCased, repeatingConicGradient is not accepted as a function when used by styled as a style object. Is this a goober issue?

ndrean commented 1 year ago

Just write it correctly and it works!

background: `repeating-conic-gradient(${color1()} 0 90deg, ${color2()} 0 180deg)`