/Sketch-Smart-Style-Switcher

Switch to an existing test style if attributes matches.

Primary LanguageJavaScript

Smart Style Switcher

Switch to an existing Shared Text Style if the attributes of the text layers matches with some Shared Text Style.

Demo

https://vimeo.com/257983214

How to use

  • Change some Text Layer Style attributes, for example alignment.
  • Execute the plugin.
  • Sketch will apply an existing Shared Text Style if find one that matches the new alignment.

Supported attributes

  • Typeface
  • Weight
  • Color
  • Size
  • Alignments
  • Vertical alignment
  • Spacing: character, Line and Paragraph
  • Text Transform

To do

  • Auto-Switch
  • Support
    • Opacity
    • Blending mode
    • All layer style: Fills, borders, shadows, inner shadows and blur.