Skip to main content

Journal

My Sketch Cheatsheet

Here’s a list of useful (Mac-based) Sketch tips for my reference and yours.

Commands Quick Reference

Task Command Notes
Add an artboard a or Insert > Artboard
Insert text element t
Insert rectangle r
Centre screen on current element Command-2
Zoom out, centred on artboard Escape then Command-2 then Command-0
Zoom in on current element to 100% of screen size Command-0
Show and hide rulers Control-R or use “View” dropdown at top-right
Duplicate element Hold Option while drag from original. Hold Shift for alignment
Check distances Select one layer then hold down Option then hover over the other layer
Adjust text size by decimal increments Hold Option while adjust size via right-hand panel
Resize an image Drag from sides or corners to your target size, holding shift to maintain aspect ratio
Crop an image Select then double-click image to go into image mode. Draw the rectangular shape you want to crop over the image, then select “crop” from top-right

Key Concepts

Starting with an Artboard

The initial canvas is infinite so we need a fixed frame (representing a device screen) on which to work.

Steps:

  1. Add an artboard.
  2. From the top-right choose one of the options (presets) e.g. Responsive Web > Desktop (1024 × 1024) or select “Custom”.
  3. Rename your layer to something appropriate for the overall task, e.g. News Article.

Creating something

  • Show rulers.
  • Add markers by clicking in the horizontal ruler at the top to provide gutters. Create them at, say, 32px from each side.
  • Add a text element, with lateral boundaries snapped to your markers. If it’s for body text, type my lorem0 shortcut 1.

Appendix

  1. the lorem0 shortcut accesses “lorem ipsum” text which I previously saved into Mac > Preferences > Keyboard > Text.

Unsplash – Beautiful free images and pictures

The internet’s source of freely usable images. Powered by creators everywhere.

I’ve seen a couple of other developers use photos from Unsplash in their demos, and it just came in handy for me recently when needing some free food photography for a website.

It’s choc-full of lovely – and free – high-res photographs, offers a simple URL-based pattern for embedding, and has an API so will be really useful.

Guest reggae and dub mix on Vic’s Sunday Soundclash

A couple of weeks ago I was kindly asked to provide a guest DJ mix for the Vic’s Sunday Soundclash show on Radio Magnetic.

You can listen to the show on demand.

Here’s the tracklist for my mix:

  • Black Uhuru - Chill Out
  • Jackie Mittoo - Oboe
  • Joe Higgs - There’s A Reward For Me
  • UBrown - Me Chat You Rock
  • Riddim Tuffa ft OBF - Food Dub Ninja
  • Mosca - Prento
  • The Royals - My Sweat Turns To Blood
  • Tatham/Ranks/Lord/Mensah - Private Life
  • Freddie McGregor w/ Sound Dimension - Africa Here I Come
  • Carlton Patterson w/King Tubby - King At The Controls
  • King Tubby - Herbal Dub
  • Carlton Coffie - Chant Away
  • Fabian - Prophecy
  • Prophecy Dub

I really enjoyed the chance to pull together reggae, dub and dancefloor favourites (old and new) for the mix. Cheers for the invite, Vicky!

You can catch Vic’s Sunday Soundclash on the first Sunday of each month at 2pm on Radio Magnetic.

Codrops CSS Reference

Here’s a comprehensive and great-looking CSS reference featuring lots of examples.

While these days I normally reach for MDN Web Docs to keep me right on any given CSS feature, I’ve been thinking that with the recent explosion of new CSS features and syntax it’d be great to do a refresher course by working my way through a structured list of features—just like I did with Eric Meyer’s CSS: The Definitive Guide back in the day—and Codrops’ reference could be the perfect place.

In a similar vein, the CSS-Tricks Almanac looks good and cssreference.io is worth bookmarking, too.

Don’t set cursor: pointer on buttons

For many years I’ve been applying cursor: pointer to buttons because it felt right and would improve the user experience.

As Florens Verschelde explains, that approach is probably best avoided. I was going against the W3C’s spec that cursor: pointer should be reserved for links, and was adding to the usability antipattern where “everything resembles a link”.

I’ll leave button cursor behaviour as it is from here on in.

External Link Bookmark Note Entry Search