paperclip-design-converter
CLI tool for converting design files (currently only supports sketch) to Paperclip. Video demo: https://www.youtube.com/watch?v=Ofqkcwc-eKE&feature=youtu.be
Last updated 8 months ago by crcn .
ISC · Original npm · Tarball · package.json
$ cnpm install paperclip-design-converter 
SYNC missed versions from official npm registry.

CLI tool for converting design files (currently only supports sketch) to Paperclip. Video demo: https://www.youtube.com/watch?v=Ofqkcwc-eKE&feature=youtu.be

Example:

# convert static designs to paperclip component
paperclip-design-converter path/to/design/file.sketch > path/to/tandem/component.pc

# convert just style mixins
paperclip-design-converter path/to/design/file.sketch --only-style-mixins > path/to/tandem/mixins.pc

# convert only symbols
paperclip-design-converter path/to/design/file.sketch --only-symbols --write=path/to/component/dir

# convert style mixins & symbols
paperclip-design-converter path/to/design/file.sketch --only-symbols --only-style-mixins --write=path/to/component/dir

# convert only clobal color swatches
paperclip-design-converter path/to/design/file.sketch --only-colors > --write=path/to/component/dir

# only convert icons
paperclip-design-converter path/to/design/file.sketch --only-exports --write=path/to/component/dir

# also works with figma
paperclip-design-converter eBjqeLULnzNdsruu8J66Mx9w --figma-token=abcde --write=path/to/component/dir --mixin-label-pattern="[MIXIN]"

CLI Options

  • no-style-mixins - convert only style mixins
  • no-components - convert only symbols
  • mixin-label-pattern - Elevate layers to mixins with this pattern.
  • no-pages - do not generate pages component file

Current Tags

  • 10.1.6                                ...           latest (8 months ago)

6 Versions

  • 10.1.6                                ...           8 months ago
  • 10.1.5                                ...           8 months ago
  • 10.1.2                                ...           8 months ago
  • 10.1.1                                ...           8 months ago
  • 10.1.0                                ...           8 months ago
  • 10.0.36                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 7
Dependencies (10)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |