Skip to content

Gradients are translated incorrectly for CSS syntax #152

@GLips

Description

@GLips

Describe the bug
Our treatment of gradients currently just passes the raw data from Figma into our output. Figma's API doesn't pass this information in a CSS-ready format.

Since the rest of the simplified design output is in a CSS syntax, most LLMs read the gradient information and assume it's ready for direct translation into CSS. When this happens the gradients are output with incorrect positioning.

Should be a pretty quick fix, but will require figuring out the specific differences between Figma's format and CSS.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions