GithubHelp home page GithubHelp logo

airtable-sketch-sync's Introduction

Airtable-Sketch Sync

This plugin populates Sketch artboards with content from an Airtable base. It supports rich text for regular layers.

Installation

  • Download the latest release.
  • Double-click the .sketchplugin file to install.

Airtable

To work properly, content should be structured as follows:

  • One base per project or Sketch page (recommended).
  • One table per artboard, with matching names.
  • The first Airtable field (column) should be set to Name.
  • Each entry in the Name field should be the name of a layer. Some layers can have the same name (for example: a Title in the header, and the Title of the main section). To target specific layers, your can specify some parent layers before with / as separator (examples: Header / Title, or Header / Navigation / Item 1). No need to specify the complete hierarchy, just a minimum of groups or symbol names should be sufficient.
  • If you use emojis to organize Sketch layers, they're OK, they will just be ignored when comparing with Airtable records.
  • Fields subsequent to Name is where the data to be synced must go. Multiple columns can be used for internationalization. Their names are to be specified in the settings window (defaults are: ['en_US','en_UK','fr_FR']). It is recommended to set these fields to Long text, other types are not supported.

Usage

Settings

Go to Plugins > Airtable-Sketch Sync > Settings.

  1. Insert your Airtable API Key.
  2. Insert your bases keys in JSON format.
  3. Specify the names of your data fields (languages).

Sync a selection of artboards

  • Select one or more artboards.
  • Go to Plugins > Airtable-Sketch Sync > Sync Selected Artboards (shortcut Shift Command D).

Sync all artboards on the page

Go to Plugins > Airtable-Sketch Sync > Sync All Artboards.

Sync options

  • Base: the base corresponding to the current project.
  • Language: the field (column) corresponding to the data wanted.
  • View: currently not used.
  • Max records: if you want to limit the number of records to be synced per table. Specify a high number by default if you want to be sure to sync everything all the time.
  • Underline color: when using links in Airtable (rich text enabled), you can specify here their color here.
  • Common data: if you need data shared across multiple artboards (for example, for headers and footers), you can set it up in a separate table. Just indicate its name here.

airtable-sketch-sync's People

Contributors

tommyem avatar tommykubity avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.