All Projects → zeroheight → Library Symbol Replacer

zeroheight / Library Symbol Replacer

Licence: mit
Sketch plugin to replace symbols in an existing documents with library symbols 💎 📚

Programming Languages

javascript
184084 projects - #8 most used programming language
symbols
36 projects

Projects that are alternatives of or similar to Library Symbol Replacer

Sketch-SelectPlus
Sketch plugin to select different layers of specific types. It basically selects everything!
Stars: ✭ 20 (-89.64%)
Mutual labels:  sketch, sketch-plugin, sketch-plugins
Sketch Image Compressor
A Plugin for Sketch that compresses your bitmap assets, to keep filesize to a minimum.
Stars: ✭ 338 (+75.13%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
autopdfexporter-sketch-plugin
A Sketch Plugin to auto-export all '[S]' Prefix artboards to a single pdf, no slices needed! Plugin auto creates slices from prefixed Artboards and exports them into a single page-sorted pdf file.
Stars: ✭ 16 (-91.71%)
Mutual labels:  sketch, sketch-plugin, sketch-plugins
library-styles-sync
sync shared styles from a Sketch Library to the current document
Stars: ✭ 70 (-63.73%)
Mutual labels:  sketch, sketch-plugin, sketch-plugins
Persiansupplier
Sketch Plugin for supplying dynamic persian data.
Stars: ✭ 46 (-76.17%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
sketch-align-layers-middle-no-bounds
sketch align layers middle no bounds from parent layer
Stars: ✭ 13 (-93.26%)
Mutual labels:  sketch, sketch-plugin, sketch-plugins
Keys For Sketch
Advanced shortcut manager for Sketch app.
Stars: ✭ 281 (+45.6%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
sketch-flip-size
🔁 FlipSize is a small Sketch plugin to flip the size of a shape, layer or artboard
Stars: ✭ 16 (-91.71%)
Mutual labels:  sketch, sketch-plugin, sketch-plugins
Sketch Text Style Master
Sketch plugin providing utilities for working with shared text styles
Stars: ✭ 32 (-83.42%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
Import Colors Sketch
Import colors from macOS CLR, Photoshop ACO/ACT, Illustrator ASE, GIMP GPL, Sketch, Text file to Sketch color variables.
Stars: ✭ 32 (-83.42%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
Sketch Gifme Plugin
Embed gifs and videos in your Sketch files!
Stars: ✭ 274 (+41.97%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
Magic Buttons Sketch Plugin
Be a wizard! Automatically resize and relabel buttons with padding sizes like CSS.
Stars: ✭ 115 (-40.41%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
Sketch Styles Generator
Generate hundreds of Sketch Shared Styles in a matter of seconds.
Stars: ✭ 537 (+178.24%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
Overrideit Sketchplugin
Overrideit is sketch plugin that allow designers to search in overridelist and overrides dropdowns, and with many other features.
Stars: ✭ 113 (-41.45%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
Icondrop
Get access to 2 million+ design resources right inside Adobe Xd, Figma, Sketch, Microsoft Office, G Suite and many more.
Stars: ✭ 174 (-9.84%)
Mutual labels:  sketch-plugins, sketch-plugin, sketch
Camilo
Sketch plugin specially crafted to work in Design systems with multiple themes
Stars: ✭ 175 (-9.33%)
Mutual labels:  sketch-plugins, sketch-plugin
Exporter
A Sketch plugin that exports Sketch artboards into clickable HTML file.
Stars: ✭ 131 (-32.12%)
Mutual labels:  sketch-plugin, sketch
Sketch Navigator
Artboard navigation (with autocomplete) for Sketch.
Stars: ✭ 161 (-16.58%)
Mutual labels:  sketch-plugin, sketch
Logodrop
A Sketch Plugin to get brand logos right into Sketch App.
Stars: ✭ 140 (-27.46%)
Mutual labels:  sketch-plugin, sketch
Sketch Copy Paste Position Size
A Sketch plugin that lets you easily copy & paste width, height, x & y values from and to objects
Stars: ✭ 130 (-32.64%)
Mutual labels:  sketch-plugin, sketch

Overview

Replace symbols in the current document with symbols from a Library.

Sketch 47 sees the introduction of Libraries, but migrating existing files to use Library symbols is one of the first big headaches. This plugin aims to help with that by allowing you to replace symbols in the current document with symbols from a Library document - maintaining overrides where possible.

N.B. the plugin currently uses symbol name to work out what to replace with what, so be careful of any conflicts.

Installation

Download, unzip and double click the .sketchplugin

or

Usage

Using the plugin

  • Open a document where you want to replace symbols with Library symbols
  • Run the plugin from Plugins > Library Symbol Replacer > Replace symbols from a new library
  • Select the Library file using the Choose dialog
  • The plugin will tell you what replacements it thinks it can make
  • When the replacements are done, it will also ask you if you want to delete the symbols which have been replaced

Breaking up a big file

  • If you're breaking up a big file, copy and paste some symbols into a different Sketch document
  • Make that document a Library (see Sketch docs if you need help)
  • Repeat this into as many Libraries as you want
  • In your original file, use the plugin to replace your document symbols with the new Library ones

Multiple files

If you have nested symbols that you want to send to different libraries (e.g. components that contain icons, and you want a separate Components and Icons library) - when you copy your components symbols out of your original file, you'll bring with them the icon symbols that they contain, which would create duplicates (the same icon would become two symbols, one in Components and one in Icons).

To remedy that you can either:

  • Run the replacer plugin within your Components library first, to replace all icon symbols by icons from the Icons library. You should make sure that Components doesn't contain any other symbols than the component ones. Then you can run the plugin within your original file.
  • or, run the replacer plugin in your original file after transferring out the icons, but before transferring out the components themselves. That way the components will already be linked with the Icons Library's icons, instead of the local ones. If you have circular dependencies between your libraries, this approach might not be feasible.

Overrides should be preserved with either method. Thanks to @drasnop for pointing this out

Issues

  • It is currently quite dumb and just uses symbol names to match symbols - that's because symbol IDs can be different, depending on how you copy and paste thing around
  • Hopefully the overrides should be fairly resilient, but there are a few Sketch bugs I came across while implementing this, so I had to work around those
  • It won't work for replacing Library symbols with other Library symbols - this could be a future improvement

Contact

Get in touch at robin#zeroheight.com, but use @ instead of # if you're not a 🤖

License

Copyright (c) 2017 Zero Height Limited (zeroheight). See LICENSE.md for further details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].