JohnCoates / CSSketch

Plugin that adds CSS support to Sketch 3 for a faster design workflow.
MIT License
1.89k stars 97 forks source link

Define text/font properties #16

Open marcusskala opened 8 years ago

marcusskala commented 8 years ago

Would be fantastic if you could define

font-family: local font family name;
font-style: normal;
font-size: 1rem; (or px)
line-height: 1rem; (or px)
letter-spacing: 0rem; (or px)
font-weight: (set to the local font weight names);

You alluded to support of this in your Medium article with "You have many text layers, and they need to be the same color as some of your shapes, so you need two types of shared styles. Some text needs be a different size, some need to be center aligned, etc. " but I was unable to get it working successfully.

Thanks! This is an incredible Sketch plugin. :)

JohnCoates commented 8 years ago

Great idea! CSSketch features are usually added as I need them in my Sketch work, or as people contribute. I'm working on an iOS UX kit right now that depends on CSSketch, and I'll see about incorporating these into the kit so that these features get added.

menosketiago commented 8 years ago

Ur the best ;)

marcusskala commented 8 years ago

Fantastic!

Naemy commented 8 years ago

Sounds AWESOME