This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
JL Flores Mena
Posted Oct 12 - Read on Facebook

Is it possible to pass all text styles for a TextLayer in just one attribute? Right now I have to use both "color" and "font", I'd like to use only one. (I've tried "font" and "style" but it's not working).


Ian McClure

If you are using a TextLayer object, then no it isn't possible.
If you do things like we did in the times before TextLayers, it works and looks like this.

Lukas Guschlbauer
Jordan Robert Dobson

Would layer.props = {} work?

Jordan Robert Dobson

label = new TextLayer
text: “Check, please.”

That might work for you?

Read the entire post on Facebook