Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuanqing/sketch-handbook
:orange_book: A concise handbook on working precisely and effectively in Sketch
https://github.com/yuanqing/sketch-handbook
sketch
Last synced: 5 days ago
JSON representation
:orange_book: A concise handbook on working precisely and effectively in Sketch
- Host: GitHub
- URL: https://github.com/yuanqing/sketch-handbook
- Owner: yuanqing
- Created: 2018-05-29T17:59:50.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-01-30T07:41:41.000Z (almost 4 years ago)
- Last Synced: 2024-12-12T05:42:16.405Z (11 days ago)
- Topics: sketch
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sketch Handbook
> A concise handbook on working precisely and effectively in [Sketch](https://www.sketch.com/)
- [Initial set up](#initial-set-up)
- [Preferences](#1-preferences)
- [Plugins](#2-plugins)
- [Custom keyboard shortcuts](#3-custom-keyboard-shortcuts)
- [Sketch Mirror](#4-sketch-mirror)
- [Actions and keyboard shortcuts](#actions-and-keyboard-shortcuts)
- [Adjust the view](#adjust-the-view)
- [Navigate around the canvas](#navigate-around-the-canvas)
- [Insert layers](#insert-layers)
- [Change layer state](#change-layer-state)
- [Select layers](#select-layers)
- [Move layers on the canvas](#move-layers-on-the-canvas)
- [Reorder and sort layers in the layer list](#reorder-and-sort-layers-in-the-layer-list)
- [Rename layers](#rename-layers)
- [Copy and paste layer style or text style](#copy-and-paste-layer-style-or-text-style)
- [Find and replace text](#find-and-replace-text)
- [Clean up your Sketch file](#clean-up-your-sketch-file)
- [Prepare specifications for hand-off](#prepare-specifications-for-hand-off)## Initial set up
### 1. Preferences
1. Open Sketch.
1. Click **`Sketch`** in the menu bar and select **`Preferences…`**.
2. In the **`General`** tab:
- Uncheck **`Scale down images to fit Artboards`**.
- Set **`Color Profile`** to “sRGB IEC61966-2.1”.
3. In the **`Layers`** tab:
- Uncheck **`Rename duplicated layers`**.
- Set **`Flatten Bitmaps`** to “to @2x”.### 2. Plugins
1. Download each plugin listed below, and uncompress the **`.zip`**.
2. Double-click each plugin file (**`.sketchplugin`**) to install it.Name | Description
:--|:--
[**Add Artboard Borders and Titles**](https://github.com/yuanqing/sketch-plugins/tree/master/packages/sketch-add-artboard-borders-and-titles) | Add borders and titles to artboards
[**Align to Grid**](https://github.com/yuanqing/sketch-plugins/tree/master/packages/sketch-align-to-grid) | Align artboards and layers to a grid
[**Automate Sketch**](https://github.com/Ashung/Automate-Sketch) | Useful collection of helpers and utilities for Sketch
[**Clean Document**](https://github.com/yuanqing/sketch-plugins/tree/master/packages/sketch-clean-document) | Automagically organise and clean up your Sketch document
[**Draw Slice Over Selection**](https://github.com/yuanqing/sketch-plugins/tree/master/packages/sketch-draw-slice-over-selection) | Draw a slice over the selection
[**Find and Replace Text**](https://github.com/yuanqing/sketch-plugins/tree/master/packages/sketch-find-and-replace-text) | Find and replace text in text layers and symbol instances
[**Move Layers**](https://github.com/yuanqing/sketch-plugins/tree/master/packages/sketch-move-layers) | Precisely move and arrange layers
[**Rename It**](https://github.com/rodi01/RenameIt) | Rename layers and artboards
[**Select Layers**](https://github.com/yuanqing/sketch-plugins/tree/master/packages/sketch-select-layers) | Select layers based on name, type or similarity
[**Sort Layer List**](https://github.com/yuanqing/sketch-plugins/tree/master/packages/sketch-sort-layer-list) | Sort the layer list by name or layer position### 3. Custom keyboard shortcuts
1. Open the **`Terminal`** app. Copy and paste the following into the prompt, then hit Return:
```sh
curl https://raw.githubusercontent.com/yuanqing/sketch-handbook/master/keyboard-shortcuts/set.sh | bash
```2. Restart Sketch in order for the keyboard shortcuts to take effect.
### 4. Sketch Mirror
Install the [**Sketch Mirror**](https://itunes.apple.com/us/app/sketch-mirror/id677296955) app to preview your designs on your iPhone while working in Sketch. (On Android, you can install the [**Crystal**](https://play.google.com/store/apps/details?id=com.smithyproductions.crystal) app.)
## Actions and keyboard shortcuts
### Adjust the view
Action | Keys | Menu Item
:--|:--|:--
Show/hide left panel | ⌘ Option 1 | View › Show Layer List
Show/hide right panel | ⌘ Option 2 | View › Show Inspector
Hide the (T)op panel | ⌘ Option T | View › Hide Toolbar
Show the canvas only | ⌘ . | View › Hide Interface### Navigate around the canvas
Action | Keys | Menu Item
:--|:--|:--
(Z)oom in | Hold Z, then click on the canvas | View › Zoom In
(Z)oom out | Hold Option Z, then click on the canvas | View › Zoom Out
Pan | Hold Space, then click and drag on the canvas | —
Show the pixel distance between layers | Select some layers, then hold Option as you hover over other layers | —### Insert layers
Action | Keys | Menu Item
:--|:--|:--
Insert (A)rtboard | A | Insert › Artboard
Insert (T)ext | T | Insert › Text
Insert (R)ectangle | R | Insert › Shape › Rectangle
Insert (O)val | O | Insert › Shape › Oval
Insert (L)ine | L | Insert › Shape › Line
Insert (V)ector | V | Insert › Shape › Vector
Insert (S)lice | S | Insert › Slice
Insert (H)otspot | H | Insert › Hotspot### Change layer state
Action | Keys | Menu Item
:--|:--|:--
(H)ide/show the selected layers | ⌘ Shift H | Arrange › Hide Layer
(L)ock/unlock the selected layers | ⌘ Shift L | Arrange › Lock Layer
Enable/disable (M)ask for the selected layers | ⌘ Shift M | Layer › Mask › Use as Mask
Flatten the selected layers to (B)itmap | ⌘ Shift B | Layer › Flatten Selection to Bitmap
(G)roup the selected layers | ⌘ G | Arrange › Group
Ungroup the selected layers | ⌘ Shift G | Arrange › Ungroup### Select layers
Action | Keys | Menu Item
:--|:--|:--
Filter the layer list | Enter a layer name in the Filter box at the bottom of the left panel | —
Select layers by (N)ame | Ctrl Option N | Plugins › Select Layers › Select by Name
Select layers with the same (N)ame as the selected layer | Ctrl N | Plugins › Select Layers › Select Same Name
Select (S)ymbol instances that are the same as the selected layer | Ctrl S | Plugins › Select Layers › Select Same Symbol Instance
Select layers with the same layer style or text style as the selected layer | Ctrl T | Plugins › Select Layers › Select Same Layer Style or Text Style### Move layers on the canvas
Action | Keys | Menu Item
:--|:--|:--
(M)ove the selected layers horizontally or vertically | ⌘ M | Plugins › Move Layers › Move Selected Layers
Space out the selected layers from (L)eft to right | ⌘ L | Plugins › Move Layers › Space Selected Layers Left
Space out the selected layers from (R)ight to left | ⌘ R | Plugins › Move Layers › Space Selected Layers Right
Space out the selected layers from top to bottom | ⌘ U | Plugins › Move Layers › Space Selected Layers Up
Space out the selected layers from bottom to top | ⌘ D | Plugins › Move Layers › Space Selected Layers Down
(L)eft-align the selected layers | ⌘ Control L | Arrange › Align › Left
(C)enter-align the selected layers | ⌘ Control C | Arrange › Align › Horizontally
(R)ight-align the selected layers | ⌘ Control R | Arrange › Align › Right
(T)op-align the selected layers | ⌘ Control T | Arrange › Align › Top
(M)iddle-align the selected layers | ⌘ Control M | Arrange › Align › Vertically
(B)ottom-align the selected layers | ⌘ Control B | Arrange › Align › Bottom
Align the selected artboards to the canvas grid | — | Plugins › Align to Grid › Align Artboards to Canvas Grid
Align the selected layers to the artboard grid | — | Plugins › Align to Grid › Align Layers to Artboard Grid### Reorder and sort layers in the layer list
Action | Keys | Menu Item
:--|:--|:--
Reorder the selected layers up in the layer list | ⌘ Option ↑ | Arrange › Bring Forward
Reorder the selected layers to the top of the layer list | ⌘ Ctrl Option ↑ | Arrange › Bring to Front
Reorder the selected layers down in the layer list | ⌘ Option ↓ | Arrange › Send Backward
Reorder the selected layers to the bottom of the layer list | ⌘ Ctrl Option ↓ | Arrange › Send to Back
(S)ort the selected layers by name | ⌘ Ctrl S | Plugins › Sort Layer List › Sort Selected Layers by Name
Sort the selected layers by their horizontal position | ⌘ Ctrl X | Plugins › Sort Layer List › Sort Selected Layers by X Position
Sort the selected layers by their vertical position | ⌘ Ctrl Y | Plugins › Sort Layer List › Sort Selected Layers by Y Position
Smart sort the selected layers | ⌘ Ctrl P | Plugins › Sort Layer List › Smart Sort### Rename layers
Action | Keys | Menu Item
:--|:--|:--
(R)ename the selected layers | ⌘ Shift R | Plugins › Rename It › Rename Selected Layers
Find and replace text in the selected layers’ names | ⌘ Option R | Plugins › Rename It › Find and Replace Layers/Artboards Names### Copy and paste layer style or text style
Action | Keys | Menu Item
:--|:--|:--
(C)opy the selected layer style or text style | ⌘ Option C | Edit › Copy › Copy Style
Paste a layer style or text style onto the selected layers | ⌘ Option V | Edit › Paste › Paste Style### Find and replace text
Action | Keys | Menu Item
:--|:--|:--
(F)ind and replace text | ⌘ Shift F | Plugins › Find and Replace Text › Find and Replace Text### Clean up your Sketch file
Action | Keys | Menu Item
:--|:--|:--
(C)lean up the selected layers | ⌘ Ctrl Option C | Plugins › Clean Document › Clean Layers
Clean up all pages, artboards, layers, and symbols in the current document | — | Plugins › Clean Document › Clean Document### Prepare specifications for hand-off
Action | Keys | Menu Item
:--|:--|:--
(E)xport assets | ⌘ Shift E | File › Export…
Add (T)itles above the selected artboards | ⌘ Ctrl Option T | Plugins › Add Artboard Borders and Titles › Add Artboard Titles
Add (B)orders over the selected artboards | ⌘ Ctrl Option B | Plugins › Add Artboard Borders and Titles › Add Artboard Borders
Draw a slice over the selected layers | ⌘ Ctrl Option L | Plugins › Draw Slice Over Selection › Draw Slice Over Selection