html-sketchapp-cli
html-sketchapp-cli copied to clipboard
Support of inner Sketch features via data-sketch-{feature} attribute
Similar to issue Using specific data attributes for Sketch.
Feature description
Make some inner Sketch features avaliable in the way like this: <div data-sketch-locked>This group is locked in Sketch</div>
We have already implemented some attributes here → handleSymbolAttributes.js @servicetitan/html-sketchapp/st-dev
So these attributes, that we have been working on (bugs to be found!):
- data-sketch-constraints="align left, fixed width"
- data-sketch-rotation="18deg"
- data-sketch-padding="10px 16px" (with Paddy plugin)
- data-sketch-spacing="10h 12v" (with Paddy plugin)
- data-sketch-textlabel="First name"
- data-sketch-locked=true
- data-sketch-ungroup=true