mskeron.blogg.se

Zeplin download
Zeplin download





zeplin download

To learn more about zem and the exec command, see documentation. You can execute functions with sample data and observe the results, without running the extension inside Zeplin. Zem lets you run an extension in the command line, during development. See package.json documentation for details. Npm's package.json defines everything you, and Zeplin, need to know about an extension, along with its dependencies.Īpart from basic information like name and description, under the zeplin key, extensions can also define options. See Extension documentation for all the functions and their details. component: Generates snippets the selected component.screen: Generates snippets from the screen.layer: Generates snippets from the selected layer.colors: Generates snippets from Project or Styleguide colors.If you have npm 5.2+ installed, you can run zem directly to create one:ĭefault entry point for the extension, a JavaScript document that exports functions, corresponding to different actions. Zem, Zeplin extension manager, is a command line tool that lets you quickly create, test and publish extensions.

zeplin download

#Zeplin download code#

Code highlighting is performed by Zeplin, extensions only communicate the preferred language. In the example above, Zeplin invokes the layer function of the extension, passing the selected layer object as a parameter.

zeplin download

What is an extension?Įxtensions are JavaScript modules that implement various functions to generate code snippets from models. If you just want to try out extensions and ended up here by mistake, head to to browse them. Ping us at if you have any questions-we'd love to hear what you're building! If you're interested in developing your own Zeplin extension, this documentation covers the basics of building one along with a tutorial and discusses their capabilities. All code snippets you interact with in Zeplin are generated using extensions and they're curated at. Zeplin extensions are JavaScript modules that generate code snippets from various design elements.







Zeplin download