- Download the ZIP file with the Measure and unzip;
- Open the
Sketch Measure.sketchplugin
;
##Toolbar
A bunch of accessible features collected and represented with clear icons help you deliver accurate design specs right at your hand.
Run Plugin
> Sketch Measure
> Toolbar
or use ⌃
+ ⇧
+ B
.
To set design resolution for each document.
##Mark Overlay
Sometimes you may need to mark an overlay to highlight a layer, this can be done easily in Sketch Measure.
- Select one or more any layers in Sketch;
- Click the
overlay
button in the Toolbar or use⌃
+⇧
+1
;
##Mark Sizes
Mark width and height label for some layers;
-
Select one or more any layers in sketch;
-
Click the
sizes
button in the Toolbar or use⌃
+⇧
+2
;If you want to mark width or height separately.
Hold down the
⌥
key and click thesizes
button.
##Mark Spacings
Spacing between any layer and the artboard.
-
Select one layer in the artboard or select two any layers;
-
Click the
spacings
button in the Toolbar or use⌃
+⇧
+3
;If you want to show margin top, right, bottom or left separately.
Hold down the
⌥
key and click thespacings
button.
##Mark Properties
Mark shape layer or text layer info, such as, fill color, border color and stroke, opacity, text font family, etc.
-
Select one or more any layers in sketch;
-
Click the
properties
button in the Toolbar or use⌃
+⇧
+4
;If you want to mark any properties separately.
Hold down the
⌥
key and click theproperties
button.
##Mark Note
Mark some notes in artboard, and show in Spec Export
viewer.
- Insert text layer, and type something;
- Select the text layer;
- Click the
note
button in the Toolbar or use⌃
+⇧
+5
;
##Make Exportable
Quickly set slice presets for the layer you'd like to export. also when you set your design resolution as dp/sp
unit, can be exporting slices as Android assets by Spec Export
.
-
Select one or more any layers in sketch;
-
Click the
knife
button in the Toolbar or use⌃
+⇧
+s
;If you want to create slice layer.
Hold down the
⌥
key and click theknife
button.
Set color names and export .xml
for developer.
-
Click the
drop
button in the Toolbar or use⌃
+⇧
+c
; -
Select one or more shape layers or text layers in sketch;
-
Click the
add
button in theManage colors
UI dialog;If you want to edit color name.
Double-click the color item of list in UI dialog;
Automatically generating html page with one click, inspect all the design details including CSS Styles on it offline.
-
Select some artboards in sketch;
-
Click the
export
button in the Toolbar or use⌃
+⇧
+e
;if you want to create one artboard by one HTML file, please uncheck the "Advanced mode" option.
You can use Safari 9+ and Google Chrome to view it, it's based on HTML 5, CSS 3 and Javascript.
- Select a layer and hover other layer to measure and get margin;
- Click color area in the Inspector to change color format;
- Use
⌘
++
and⌘
+-
to zoom the canvas; - Hold down
spacebar
on keyboard, and mouse drag canvas to scroll canvas; - Toggle note switch to show and hide the notes;