Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Design Workflow with Sketch

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for clarklab clarklab
March 12, 2015

Design Workflow with Sketch

As the lines continue to blur between design software and browser, raster pixels seem like a worthy first casualty. With a bit of retraining, any designer or front-end worker can be poised to drop Photoshop (and pixels) forever.

Topics include:
artboards, pages, and slices
raster design gotchas
exporting from Sketch
pulling CSS from Sketch
getting ready to build / handoff

Avatar for clarklab

clarklab

March 12, 2015
Tweet

More Decks by clarklab

Other Decks in Design

Transcript

  1. <3

  2. Pull text styles as CSS /* Article Body */ font-family:

    Helvetica; font-size: 20px; color: #4A4A4A; line-height: 35px;
  3. Custom icons Use only the icons you need, not some

    mammoth set Get a clean folder of SVG files, all normalized in size From SVGs, go custom with Icomoon or Grunticon Grunticon SVG files into retina-ready, fallback-friendly CSS magic SVG data urls, PNG data urls, plain ol’ PNGs Asynchronously loads the right CSS based on browser
  4. SketchTool Cross-platform CLI for accessing .sketch innards sketchtool list pages

    filename.sketch sketchtool dump filename.sketch sketchtool export artboards filename.sketch ——output ——scale ——formats
  5. Pull text styles as CSS /* Article Body */ font-family:

    Helvetica; font-size: 20px; color: #4A4A4A; line-height: 35px;
  6. /* Button */ border-radius: 6px; /* Button Background: */ background-image:

    -o-linear-gradient(-89deg, #D8D8D8 0%, #B3B3B3 100%); background-image: -moz-linear-gradient(-89deg, #D8D8D8 0%, #B3B3B3 100%); background-image: -ms-linear-gradient(-89deg, #D8D8D8 0%, #B3B3B3 100%); background-image: linear-gradient(-179deg, #D8D8D8 0%, #B3B3B3 100%); border: 1px solid #979797; -moz-box-shadow:0px 1px 2px 0px rgba(0,0,0,0.20), inset 0px 2px 0px 0px #FFFFFF; box-shadow:0px 1px 2px 0px rgba(0,0,0,0.20), inset 0px 2px 0px 0px #FFFFFF; font-family: AvenirNext-Bold; font-size: 14px; color: #4A4A4A; line-height: 19px; /* button text: */ color:#FFFFFF; text-shadow: 0px 1px 0px #FFFFFF; CSS from a symbol
  7. Dynamic Button Select type element ⌘ + J Surrounds type

    in shape object Style shape object Style text object Repeat
  8. Dynamic Button Select type element ⌘ + J Surrounds type

    in shape object Style shape object Style text object Repeat