Set of useful abilities:
- Dialogless export of selected artboards by single key press.
- Attachable Styles.
- Advanced Clipboard.
- Download master.zip.
- Extract downloaded archive.
- Goto extracted folder and open
Somino.sketchplugin
.
Before you start use somino you need to prepare you sketch file:
- Add a page named "Somino" to you file.
- Add an empty artboard with any name to "Somino" page.
- Add a text element (layer) on this artboard and name it "settings".
- The text of this element contains settings in format:
silent_path=path to folder where silent export will place images
❗ Before use silent export ensure that you have done with settings as described above.
Select one or more artboards and press ⌃⇧E
.
If none selected then all artboards from the current page will be exported.
You can setup a list of shapes and use its decorations (fills, borders, shadows etc.) as a style provider for other elements.
- Goto 'Somino' page and place some shape on it (e.g. rectangle).
- Setup borders, fills, shadows and other decorations.
- Set name for this shape in format:
name: options
, wherename
is a name for attachable style andoptions
is a set of decorations for provided style elements:border
orbr
– style provides a border settings.fill
orfl
– style provides a fill settings.shadow
orsh
– style provides a shadow settings.
You can define as many shapes/styles as you need.
- Go to you working page and select element for which you want to apply a previously defined style.
- Run menu command
Plugins → Somino → Attach Style
. You will see a dialog with defined styles. - Choose style from the list and press
Ok
. - The decoration of a selected element will change according to a chosen style.
- The chosen style will be 'attached' to selected element (layer).
- Goto 'Somino' page and select shape which define style.
- Modify decoration properties.
- Run menu command
Plugins → Somino → Apply Style
. - All elements which are attached to this style will be updated according to new parameters.
- Go to you working page and select element for which you want to display attached styles.
- Run menu command
Plugins → Somino → Show Style
. - You will see a list of attached styles in popup message.
- Go to you working page and select element for which you want to detach styles.
- Run menu command
Plugins → Somino → Detach Style
. You will see a dialog with attached styles. - Choose style you want to detach from the list and press
Ok
. - The chosen style will be 'detached' from selected element (layer).
With Somino Advanced Clipboard you can copy all properties of selected element to clipboard. Run menu command Plugins → Somino → Copy Style & Shapes
.
Then you can paste only a particular parts of copied content.
Select element(s) to which you want to apply copied properties and run one of menu command Plugins → Somino → Paste <part>
where can be one of the Borders
, Fills
, Shadows
or Shapes
.
Only chosen decorations of selected elements will be replaced.
If you select Paste Shapes
then all shapes of selected element will be replaced with shapes of copied element.