Style Libraries

Sync layer & text styles with any Sketch Library

v0.4.2 is compatible with Sketch 48.2.0

Icon

Sketch Style Libraries

A lightweight plugin that lets you sync layer & text styles with a Sketch Library, so your project is always in sync.

πŸ‘Œ Keep your whole design system in your library, and not just the symbols

πŸ‘Œ No manual export/import via separate "style files"

πŸ‘Œ No need to sync with another cloud service

Usage

  1. Install plugin
  2. Plugins -> πŸ”— Sync styles with library -> Fetch from... or Push to...
  3. Pick a library
  4. Profit

Installing

The easiest way to install Style Libraries is via Sketch Runner. Otherwise, you can clone this repo or grab the latest release and double click the .sketchplugin file to install it manually.

What it does

Existing styles are updated (matched by name), and missing ones are added. Will be adding the ability to delete styles soon (if they don't exist in the source document).

NOTE: I only came across Library Styles Sync after publishing this, so check it out and see which one fits your workflow best. That one pulls all styles from any library you have placed a symbol from, while this one syncs both ways but only from one selected library at a time.

So a bit more control, but adding an additional step. Beyond that, they are pretty similar.

Acknowledgements

This plugin was made almost entirely by repurposing bits of code from existing plugins, as it was the only way I could figure out how to do anything.

Particular credit goes to these excellent plugins, which I wholeheartedly recommend:

Styles Generator

Shared Text Styles

Move to library

Input

Hopefully this functionality will be added natively soon, but I will keep maintaining this in the meantime. If you have any thoughts, suggestions or feedback, please don't hesitate to create an issue!


Join the discussion

Download v0.4.2
Usage Activity
400100

No Sketchpacks Relay integration found

Stats
  • 50 downloads all–time
  • 31 downloads this week
  • 50 downloads this month
About this plugin

sigtm published this plugin 10d ago.

v0.4.2 is the latest of 10 releases

Native updates are supported within Sketch.app.