A Sketch plugin to rename layers based on the text style applied
Switch branches/tags
Clone or download
Latest commit 63883c5 Nov 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
artwork artwork Aug 23, 2018
assets First Aug 1, 2018
rename-layers-based-on-textstyle.sketchplugin/Contents patch Nov 17, 2018
src Manifest prep Nov 17, 2018
.appcast.xml Update .appcast with new tag Nov 17, 2018
.gitignore First Aug 1, 2018
LICENSE First Aug 1, 2018
README.md Update README.md Nov 20, 2018
man.md shared libraries Aug 23, 2018
package-lock.json Publish 2.1.1 release 🚀 Nov 17, 2018
package.json Publish 2.1.1 release 🚀 Nov 17, 2018
rename-layers-based-on-textstyle.zip version 1.3.0 Aug 23, 2018

README.md

logo

rename-layers-based-on-textstyle

What?

This plugin will go through your current pages' text styles and prepend or replace their Text Style name to the layer.

It will go through your local document text styles first, then look for any text styles that are linked from your libraries.

Why?

When developers are picking through tools like InVision and Zeplin they can't easily sync up the style reference to your design system. They only get the attributes of the font. This tool means that they can easily see form the generated class names or layer what the style is.

Installation

Install rename-layers-based-on-textstyle with Sketchpacks

Either install via Sketchpacks, Sketch Runner or...

  1. Download from the release page
  2. Unzip
  3. Double Click on rename-layers-based-on-textstyle.sketchplugin

Commands

Append

logo

Takes the Text Syle name and adds it to the end of the the Layer name with a hypen

Prepend

logo

Takes the Text Syle name and adds it to the front of the the Layer name with a hypen

Replace

logo

Takes the Text Syle name and replaces the entire layer name with the Text Style


@tbrasington | tbrasington.com