You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! First off, thanks for this library, it's really cool and has made its way into many of my side projects lately.
I'm currently building a Figma Codegen plugin to turn Figma's auto-generated CSS into usable code for our internal styling framework called RCSS. RCSS is a Typescript styling utility similar to Tailwind, where styles are applied via Emotion using a clean syntax like rcss.p(8) for padding on all sides, rcss.px(8) for padding on left/right, rcss.backgroundColor(tokens.backgroundRoot) for backgrounds, etc. RCSS code is typically an array of these function calls.
I'm wondering if Lightning could be used basically to transform raw CSS into this custom syntax. Maybe via custom transforms?
The text was updated successfully, but these errors were encountered:
Hello! First off, thanks for this library, it's really cool and has made its way into many of my side projects lately.
I'm currently building a Figma Codegen plugin to turn Figma's auto-generated CSS into usable code for our internal styling framework called RCSS. RCSS is a Typescript styling utility similar to Tailwind, where styles are applied via Emotion using a clean syntax like
rcss.p(8)
for padding on all sides,rcss.px(8)
for padding on left/right,rcss.backgroundColor(tokens.backgroundRoot)
for backgrounds, etc. RCSS code is typically an array of these function calls.I'm wondering if Lightning could be used basically to transform raw CSS into this custom syntax. Maybe via custom transforms?
The text was updated successfully, but these errors were encountered: