amzn / sketch-constructor

Read/write/manipulate Sketch files in Node without Sketch plugins!

Home Page:https://amzn.github.io/sketch-constructor/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Typography, spacing support

username1290 opened this issue · comments

Hi, thanks for creating this,
is there any support to extract & generate components such as:

  • type scale,
  • spacing tokens,
    or any other type of component (buttons, checkboxes, textfields, cards, etc).
    thanks!

Not at the moment, but totally open to building that in! If you have a sketch file or pseudo-code of what you would like to do, we can work from there.

Hi, thanks for the quick response!
example of two artboards, type only:

Screen Shot 2019-08-13 at 12 28 PM

ZIP --> fonts-type 01.sketch.zip

also, important question, maybe deserves a new thread: How to integrate/name things in Sketch to integrate with the style-dictionary repo?

Spacing artboard
spacing 01
ZIP --> spacing 01.sketch.zip