DEV Community

Discussion on: Export Color Palette from Figma to JSX

Collapse
 
gusbemacbe profile image
Gustavo Costa

And linear-gradient(...)?

Collapse
 
aexol profile image
Artur Czemiel

I think the same as

\/\* (.*) \*\/\nbackground: linear-gradient\((.*)\);
['$1']: 'linear-gradient($2)'