Sketch to MXML / FXG Plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
getSelectionMXMLG.sketchplugin

README.md

Skrx

Sketch Plugin, written in JSTalk ( http://jstalk.org ).

Skrx ( ~skreecks ) exports a selection of elements (for now only the rectangles) to Apache Flex MXML or FXG description, and copy it to clipboard.

Learn more about Sketch extensions/scripting

Example

Basic generated skins examples : http://www.rxla.bz/skrx/

Flex button skins examples made in sketch

Generated MXML

generated MXML

Release notes

» 0.1.4
  • multi states fills and strokes export ( default / .over / .down / .disabled )
0.1.3
  • export FXG
  • strokes thickness
  • strokes pixelHinting
  • gradient angle
  • shadows , innerShadows (blur, color, alpha, strength)
  • spread / strength conversion ( = spread + 1 )
  • tabs fixes
0.1.2
  • local relative coordinates
  • linearGradient Strokes
  • multiple rectangles
  • Completed Alert
  • Radial gradient colors ( fixme : focalCenter )
  • refactoring
0.1.1
  • clipboard
  • setLocalPositionAlert
  • setLocalPosition ( base x y position on selection area top left point )
  • linearGradient fill
0.1
  • coordinates
  • fill and stroke