Coder Social home page Coder Social logo

ozgurgunes / sketch-symbol-states Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 1.0 1.37 MB

A Sketch plugin to save overrides of a symbol instance as states which could be applied on any instance of that symbol.

License: MIT License

JavaScript 100.00%
sketch symbol override plugin

sketch-symbol-states's Introduction

Sketch Symbol States

Symbol States Download Latest

Symbol States plugin for Sketch, saves overrides of a symbol instance as states, which could be applied on any instance of that symbol later.

The plugin does not support image overrides natively. Still you can use the plugin with images by making symbols or styles.

Installation

Download the latest release, unzip and double click on the .sketchplugin file.

Alternatively:

Search for Symbol States in Sketchrunner or Sketchpacks.

Usage

Save Symbol State

To save current state of selected symbol;

  • Go to Plugins > Symbol States > Save State.
  • Give a name to new state or choose an existing one.
  • Click Save. (Click OK in confirmation dialog if you want to update an existing state.)

Save defaults

By default, the plugin only saves the edited override values of the symbol. If this option is checked, symbol's default override values also be saved in the state data.

Set Symbol State

To apply a state to selected symbols;

  • Go to Plugins > Symbol States > Set State.
  • Choose a state in opening dialog window.
  • Click Apply.

Reset overrides

By default, the plugin resets the symbol overrides before applying a state. If this option is unchecked, symbol will not be reseted and the state data will be applied on current state of the symbol.

Delete Symbol States

To delete states of selected symbol;

  • Go to Plugins > Symbol States > Delete States.
  • Check states which you want to delete (Click Delete All if you want to delete all states).
  • Click Delete.

States from Document & Library

States can be saved in library and used on any document. States imported from library are being listed with an asterisk (*). It is possible to save or delete new states on working document for imported symbols.

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.