SlideShare a Scribd company logo
1 of 52
Download to read offline
STYLE GUIDES ARE THE NEW PHOTOSHOP
                   STEPHEN HAY @ FRONTEERS 2012
DESIGNING IN THE BROWSER


   Demonstrating our designs to clients as
   XHTML/CSS pages rather than as static
   Photoshop or Fireworks has streamlined our
   work๏ฌ‚ow and helped us to set and manage a
   clientโ€™s expectations better than ever before.


               Andy Clarke, โ€œTime to stop showing clients static design visualsโ€ (2008)
WALLS COME TUMBLING DOWN (2009)

   Coming up with new and better workflows
   Designing in the browser
   Learning to live with constraints
   Designing systems, rather than sites
PHOTOSHOP IS IMPRACTICAL FOR
 RESPONSIVE DESIGN MOCKUPS
PROBLEMS WITH โ€œPHOTOSHOPโ€ COMPS

   Design changes are time-consuming
   Too much manual work
   The image editor is a dependency
   Responsive design implies multiple and
   flexible layouts
REALITY
   (Screenshots by Adobe Edge Inspect)
WEB TECH IS VERY PRACTICAL FOR
 RESPONSIVE DESIGN MOCKUPS
WEB-BASED COMPS: THE GOOD
   Doesnโ€™t need to take much longer than Photoshop
   Automate trivial tasks
   Realistic presentation / real-life rendering
   State changes are easily visualized
   Free and open: everyone has a browser & editor
   No negative surprises for the client
   Possible prep for development
   They can be responsive
WE NEED TWO THINGS TO REPLACE
    PHOTOSHOP FOR COMPS
1. Static Web-based Comps
2. Style Guides
STYLE GUIDES
STYLE GUIDES: THE GOOD


   No measuring
   State and breakpoint changes can be included
   Useful for future designers, devs & others
   Design consistency and maintainability
STYLE GUIDES IN THE WILD
 Apple Identity Guidelines
STYLE GUIDES IN THE WILD
 BBC GEL
ANNA DEBENHAMโ€™S COLLECTION
                     STYLE GUIDES, PATTERN LIBRARIES & TOOLS TO CREATE THEM

http://gim.ie/fZyK
MY WEB STYLE GUIDE WISHLIST
Free-form writable
Taking screenshots should be automated
Update code snippets automatically
   when mockup code changes
Update screenshots automatically
   when something changes
Elements/modules should not have to be
   physically split into separate files
Syntax highlighting for code
AM I TOO DEMANDING?


   Free-form writable
   Automated screenshot-taking
   Update code snippets automatically
   Update screenshots automatically
   No separate files for code snippets
   Syntax highlighting
I COULD NOT FIND A SINGLE TOOL
          TO DO THIS
Sporf
  http://en.wikipedia.org/wiki/Sporf
Free-form writing
       DEXY + PANDOC (OR MARKDOWN) FILTER
                                            http://www.dexy.it/
Taking screenshots
                 PHANTOM.JS + CASPER.JS




                                  http://casperjs.org/



http://phantomjs.org/
Code & screenshot updating
       JINJA TEMPLATES + DEXYโ€™S IDIOPIDAE FILTER
Syntax highlighting
       DEXYโ€™S PYGMENTS FILTER
THE
  COMMAND
      LINE
http://www.flickr.com/photos/evdaimon/337754011/
hi.
http://xkcd.com/149/
How this works

  Web-based mockup             Style guide content in Markdown     Style guide




                     screenshots taken, code snippets extracted
    HTML   CSS                                                    SCREEN   CODE
STEPS
1 Create a web-based mockup


   Use HTML, CSS & when necessary, JavaScript
   Your goal is to represent the design in the browser
   Your goal is not to create production code
   Your CSS should be modular (it will end up in your
   style guide!)
SMACSS

         MAKE CSS MORE MODULAR WITHโ€ฆ
         A LUMBERJACK.
2 Install Dexy & any dependencies




  If youโ€™re a designer and canโ€™t do it alone, ask a
  developerโ€™s help.
  Before you ask for help, try going to the sites and
  following the instructions as best you can.
2 Install PhantomJS & CasperJS




  If youโ€™re a designer and canโ€™t do it alone, ask a
  developerโ€™s help.
  Before you ask for help, try going to the sites and
  following the instructions as best you can.
3 Write your guide and use Jinja templates




     Use simple Markdown links to screenshots. Note the filenames you use.
4 Script your screenshots with CasperJS




 Keep things easy by adding a new casper.then() for each screenshot. Code brevity is not the goal.
5 Mark the CSS you want to export




          An export ends when another starts, or with @end.
6 Run Dexy




             Wow, that command line stuff is hard.
DONE
Changes in design? Run dexy again.




 Well, okay. In some cases you might want to do dexy cleanup followed by dexy setup and then dexy.
Demo
This is not without a learning curve.
            But what is?
Choose what works for you.
Hopefully something here will inspire you to find your own way. Experiment!
These are new times.
The problems we have with responsive workflow should encourage us to examine
                   and evaluate our processes and tools.
Have fun.
Make great stuff.
KEEP LEARNING.

Thanks!
@stephenhay


                    Special thanks to Ana Nelson

More Related Content

What's hot

What's hot (20)

The Server Side of Responsive Web Design
The Server Side of Responsive Web DesignThe Server Side of Responsive Web Design
The Server Side of Responsive Web Design
ย 
Atomic design
Atomic designAtomic design
Atomic design
ย 
MIMA 2014 - Changing your Responsive Design Workflow
MIMA 2014 - Changing your Responsive Design WorkflowMIMA 2014 - Changing your Responsive Design Workflow
MIMA 2014 - Changing your Responsive Design Workflow
ย 
React Storybook, Atomic Design, and ITCSS
React Storybook, Atomic Design, and ITCSSReact Storybook, Atomic Design, and ITCSS
React Storybook, Atomic Design, and ITCSS
ย 
Atomic Design - An Event Apart San Diego
Atomic Design - An Event Apart San DiegoAtomic Design - An Event Apart San Diego
Atomic Design - An Event Apart San Diego
ย 
Atomic Design con Pattern Lab
Atomic Design con Pattern LabAtomic Design con Pattern Lab
Atomic Design con Pattern Lab
ย 
Creating Style Guides with Modularity in Mind
Creating Style Guides with Modularity in MindCreating Style Guides with Modularity in Mind
Creating Style Guides with Modularity in Mind
ย 
Atomic Design - BDConf Nashville, 2013
Atomic Design - BDConf Nashville, 2013Atomic Design - BDConf Nashville, 2013
Atomic Design - BDConf Nashville, 2013
ย 
An introduction to Emulsify
An introduction to EmulsifyAn introduction to Emulsify
An introduction to Emulsify
ย 
Adventures in Atomic Design
Adventures in Atomic DesignAdventures in Atomic Design
Adventures in Atomic Design
ย 
ACSS: Rethinking CSS Best Practices
ACSS: Rethinking CSS Best PracticesACSS: Rethinking CSS Best Practices
ACSS: Rethinking CSS Best Practices
ย 
Atomic Design
Atomic Design Atomic Design
Atomic Design
ย 
Data science for infrastructure dev week 2022
Data science for infrastructure   dev week 2022Data science for infrastructure   dev week 2022
Data science for infrastructure dev week 2022
ย 
The Death of Lorem Ipsum and Pixel-Perfect Content (MinneWebCon version)
The Death of Lorem Ipsum and Pixel-Perfect Content (MinneWebCon version)The Death of Lorem Ipsum and Pixel-Perfect Content (MinneWebCon version)
The Death of Lorem Ipsum and Pixel-Perfect Content (MinneWebCon version)
ย 
Beyond Squishy: The Principles of Adaptive Design
Beyond Squishy: The Principles of Adaptive DesignBeyond Squishy: The Principles of Adaptive Design
Beyond Squishy: The Principles of Adaptive Design
ย 
Use atomic design ftw
Use atomic design ftwUse atomic design ftw
Use atomic design ftw
ย 
Soโ€ฆWhat Do I Make? (Dan Mall)
Soโ€ฆWhat Do I Make? (Dan Mall)Soโ€ฆWhat Do I Make? (Dan Mall)
Soโ€ฆWhat Do I Make? (Dan Mall)
ย 
Documenting an Atomic Design System with Jekyll
Documenting an Atomic Design System with JekyllDocumenting an Atomic Design System with Jekyll
Documenting an Atomic Design System with Jekyll
ย 
5 Reasons Why Your Website Is[nโ€™t] a Native App (PrDC 2015)
5 Reasons Why Your Website Is[nโ€™t] a Native App (PrDC 2015)5 Reasons Why Your Website Is[nโ€™t] a Native App (PrDC 2015)
5 Reasons Why Your Website Is[nโ€™t] a Native App (PrDC 2015)
ย 
Learning to be IDE Free (PrDC 2015)
Learning to be IDE Free (PrDC 2015)Learning to be IDE Free (PrDC 2015)
Learning to be IDE Free (PrDC 2015)
ย 

Viewers also liked

Tema1 introducciรณn 2009v1
Tema1 introducciรณn 2009v1Tema1 introducciรณn 2009v1
Tema1 introducciรณn 2009v1
jcbp_peru
ย 
Taller de Preparaciรณn para la Certificaciรณn (PMI-RMP)ยฎ - Realizar el Anรกlisis...
Taller de Preparaciรณn para la Certificaciรณn (PMI-RMP)ยฎ - Realizar el Anรกlisis...Taller de Preparaciรณn para la Certificaciรณn (PMI-RMP)ยฎ - Realizar el Anรกlisis...
Taller de Preparaciรณn para la Certificaciรณn (PMI-RMP)ยฎ - Realizar el Anรกlisis...
David Salomon Rojas Llaullipoma
ย 
Plan estratรฉgico seguridad de los pacientes de extremadura
Plan estratรฉgico seguridad de los pacientes de extremaduraPlan estratรฉgico seguridad de los pacientes de extremadura
Plan estratรฉgico seguridad de los pacientes de extremadura
SociosaniTec
ย 
Assessment on Skin, Hair & Nails / HEENT
Assessment on Skin, Hair & Nails / HEENTAssessment on Skin, Hair & Nails / HEENT
Assessment on Skin, Hair & Nails / HEENT
Tim Bersabe
ย 
Actualiteiten ICT Contracten en Partnerships (2012)
Actualiteiten ICT Contracten en Partnerships (2012)Actualiteiten ICT Contracten en Partnerships (2012)
Actualiteiten ICT Contracten en Partnerships (2012)
Advocatenkantoor LEGALZ
ย 
Marco del buen desempeรฑo docente
Marco del buen desempeรฑo docenteMarco del buen desempeรฑo docente
Marco del buen desempeรฑo docente
0013
ย 
Trabajp 30 agosto
Trabajp 30 agostoTrabajp 30 agosto
Trabajp 30 agosto
AdrianaAcuna
ย 
Error messages
Error messagesError messages
Error messages
rtinkelman
ย 

Viewers also liked (20)

Lรญneas de transmisiรณn
Lรญneas de transmisiรณnLรญneas de transmisiรณn
Lรญneas de transmisiรณn
ย 
Tema1 introducciรณn 2009v1
Tema1 introducciรณn 2009v1Tema1 introducciรณn 2009v1
Tema1 introducciรณn 2009v1
ย 
Segundo Paquete Econรณmico 2017 Zacatecas - Egresos (4-8)
Segundo Paquete Econรณmico 2017 Zacatecas - Egresos (4-8)Segundo Paquete Econรณmico 2017 Zacatecas - Egresos (4-8)
Segundo Paquete Econรณmico 2017 Zacatecas - Egresos (4-8)
ย 
Taller de Preparaciรณn para la Certificaciรณn (PMI-RMP)ยฎ - Realizar el Anรกlisis...
Taller de Preparaciรณn para la Certificaciรณn (PMI-RMP)ยฎ - Realizar el Anรกlisis...Taller de Preparaciรณn para la Certificaciรณn (PMI-RMP)ยฎ - Realizar el Anรกlisis...
Taller de Preparaciรณn para la Certificaciรณn (PMI-RMP)ยฎ - Realizar el Anรกlisis...
ย 
Woman3
Woman3Woman3
Woman3
ย 
Pasivo A Corto Y Largo Plazo
Pasivo A Corto Y Largo PlazoPasivo A Corto Y Largo Plazo
Pasivo A Corto Y Largo Plazo
ย 
Plan estratรฉgico seguridad de los pacientes de extremadura
Plan estratรฉgico seguridad de los pacientes de extremaduraPlan estratรฉgico seguridad de los pacientes de extremadura
Plan estratรฉgico seguridad de los pacientes de extremadura
ย 
pronostico de venta
pronostico de ventapronostico de venta
pronostico de venta
ย 
Assessment on Skin, Hair & Nails / HEENT
Assessment on Skin, Hair & Nails / HEENTAssessment on Skin, Hair & Nails / HEENT
Assessment on Skin, Hair & Nails / HEENT
ย 
Segundo Paquete Econรณmico 2017 Zacatecas - Egresos (3-9)
Segundo Paquete Econรณmico 2017 Zacatecas - Egresos (3-9)Segundo Paquete Econรณmico 2017 Zacatecas - Egresos (3-9)
Segundo Paquete Econรณmico 2017 Zacatecas - Egresos (3-9)
ย 
Informe mantenimiento mecanico
Informe mantenimiento mecanicoInforme mantenimiento mecanico
Informe mantenimiento mecanico
ย 
Actualiteiten ICT Contracten en Partnerships (2012)
Actualiteiten ICT Contracten en Partnerships (2012)Actualiteiten ICT Contracten en Partnerships (2012)
Actualiteiten ICT Contracten en Partnerships (2012)
ย 
Training Schrijven voor het Web
Training Schrijven voor het WebTraining Schrijven voor het Web
Training Schrijven voor het Web
ย 
Contabilidad General: Prรกctica y Dinรกmica Contable - Contabilidad de Activos,...
Contabilidad General: Prรกctica y Dinรกmica Contable - Contabilidad de Activos,...Contabilidad General: Prรกctica y Dinรกmica Contable - Contabilidad de Activos,...
Contabilidad General: Prรกctica y Dinรกmica Contable - Contabilidad de Activos,...
ย 
Marco del buen desempeรฑo docente
Marco del buen desempeรฑo docenteMarco del buen desempeรฑo docente
Marco del buen desempeรฑo docente
ย 
"Protecciรณn de la salud mental luego del terremoto y tsunami del 27 de febrer...
"Protecciรณn de la salud mental luego del terremoto y tsunami del 27 de febrer..."Protecciรณn de la salud mental luego del terremoto y tsunami del 27 de febrer...
"Protecciรณn de la salud mental luego del terremoto y tsunami del 27 de febrer...
ย 
Relatietips
RelatietipsRelatietips
Relatietips
ย 
De Reis van de Heldin december 2015
De Reis van de Heldin december 2015De Reis van de Heldin december 2015
De Reis van de Heldin december 2015
ย 
Trabajp 30 agosto
Trabajp 30 agostoTrabajp 30 agosto
Trabajp 30 agosto
ย 
Error messages
Error messagesError messages
Error messages
ย 

Similar to Style Guides Are The New Photoshop (Fronteers 2012)

Designing in the Browser - Design for Drupal, Boston 2010
Designing in the Browser - Design for Drupal, Boston 2010Designing in the Browser - Design for Drupal, Boston 2010
Designing in the Browser - Design for Drupal, Boston 2010
canarymason
ย 
How to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS projectHow to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS project
Renoir Boulanger
ย 

Similar to Style Guides Are The New Photoshop (Fronteers 2012) (20)

Creating a Business Oriented UI in APEX
Creating a Business Oriented UI in APEXCreating a Business Oriented UI in APEX
Creating a Business Oriented UI in APEX
ย 
Not Just a Pretty Face: How to design and build a cross-CMS CSS framework
Not Just a Pretty Face: How to design and build a cross-CMS CSS frameworkNot Just a Pretty Face: How to design and build a cross-CMS CSS framework
Not Just a Pretty Face: How to design and build a cross-CMS CSS framework
ย 
No Feature Solutions with SharePoint
No Feature Solutions with SharePointNo Feature Solutions with SharePoint
No Feature Solutions with SharePoint
ย 
JavaScript Presentation Frameworks and Libraries
JavaScript Presentation Frameworks and LibrariesJavaScript Presentation Frameworks and Libraries
JavaScript Presentation Frameworks and Libraries
ย 
Designing in the Browser - Design for Drupal, Boston 2010
Designing in the Browser - Design for Drupal, Boston 2010Designing in the Browser - Design for Drupal, Boston 2010
Designing in the Browser - Design for Drupal, Boston 2010
ย 
Morden F2E Education - Think of Progressive Web Apps
Morden F2E Education - Think of Progressive Web AppsMorden F2E Education - Think of Progressive Web Apps
Morden F2E Education - Think of Progressive Web Apps
ย 
Using a CSS Framework
Using a CSS FrameworkUsing a CSS Framework
Using a CSS Framework
ย 
How to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS projectHow to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS project
ย 
BootsFaces, AngularFaces und ein Blck unter die Motorhaube
BootsFaces, AngularFaces und ein Blck unter die MotorhaubeBootsFaces, AngularFaces und ein Blck unter die Motorhaube
BootsFaces, AngularFaces und ein Blck unter die Motorhaube
ย 
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
ย 
Intro to html5 Boilerplate
Intro to html5 BoilerplateIntro to html5 Boilerplate
Intro to html5 Boilerplate
ย 
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by StepBootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
ย 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
ย 
CSS3 and a brief introduction to Google Maps API v3
CSS3 and a brief introduction to Google Maps API v3 CSS3 and a brief introduction to Google Maps API v3
CSS3 and a brief introduction to Google Maps API v3
ย 
Implementing Vanilla Web Components
Implementing Vanilla Web ComponentsImplementing Vanilla Web Components
Implementing Vanilla Web Components
ย 
Powerful tools for building web solutions
Powerful tools for building web solutionsPowerful tools for building web solutions
Powerful tools for building web solutions
ย 
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
ย 
VS Code and Modern Development Environment Preview
VS Code and Modern Development Environment PreviewVS Code and Modern Development Environment Preview
VS Code and Modern Development Environment Preview
ย 
How I learned to stop worrying and love embedding JavaScript
How I learned to stop worrying and love embedding JavaScriptHow I learned to stop worrying and love embedding JavaScript
How I learned to stop worrying and love embedding JavaScript
ย 
Embedding V8 in Android apps with Ejecta-V8
Embedding V8 in Android apps with Ejecta-V8Embedding V8 in Android apps with Ejecta-V8
Embedding V8 in Android apps with Ejecta-V8
ย 

More from Stephen Hay

Fronteers Workshop: Rabid Prototyping
Fronteers Workshop: Rabid PrototypingFronteers Workshop: Rabid Prototyping
Fronteers Workshop: Rabid Prototyping
Stephen Hay
ย 
Meta layout: a closer look at media queries
Meta layout: a closer look at media queriesMeta layout: a closer look at media queries
Meta layout: a closer look at media queries
Stephen Hay
ย 
HTML5 & Webrichtlijnen 2
HTML5 & Webrichtlijnen 2HTML5 & Webrichtlijnen 2
HTML5 & Webrichtlijnen 2
Stephen Hay
ย 

More from Stephen Hay (20)

From Deception to Clarity
From Deception to ClarityFrom Deception to Clarity
From Deception to Clarity
ย 
The Backside of the Class (CSS Day 2015)
The Backside of the Class (CSS Day 2015)The Backside of the Class (CSS Day 2015)
The Backside of the Class (CSS Day 2015)
ย 
The Art of Deception
The Art of DeceptionThe Art of Deception
The Art of Deception
ย 
Sculpting Text: Easing the Pain of Designing in the Browser
Sculpting Text: Easing the Pain of Designing in the BrowserSculpting Text: Easing the Pain of Designing in the Browser
Sculpting Text: Easing the Pain of Designing in the Browser
ย 
Power Tools For Browser-Based Design
Power Tools For Browser-Based DesignPower Tools For Browser-Based Design
Power Tools For Browser-Based Design
ย 
UIE Virtual Seminar: Responsive Web Design Workflow
UIE Virtual Seminar: Responsive Web Design WorkflowUIE Virtual Seminar: Responsive Web Design Workflow
UIE Virtual Seminar: Responsive Web Design Workflow
ย 
Flexbox: One Giant Leap for Web Layout (Breaking Development 2013)
Flexbox: One Giant Leap for Web Layout (Breaking Development 2013)Flexbox: One Giant Leap for Web Layout (Breaking Development 2013)
Flexbox: One Giant Leap for Web Layout (Breaking Development 2013)
ย 
Flexbox: One Giant Leap for Web Layout (GenerateConf 2013)
Flexbox: One Giant Leap for Web Layout (GenerateConf 2013)Flexbox: One Giant Leap for Web Layout (GenerateConf 2013)
Flexbox: One Giant Leap for Web Layout (GenerateConf 2013)
ย 
The New Photoshop, Part 2: The Revenge of the Web (FEC13)
The New Photoshop, Part 2: The Revenge of the Web (FEC13)The New Photoshop, Part 2: The Revenge of the Web (FEC13)
The New Photoshop, Part 2: The Revenge of the Web (FEC13)
ย 
Flexbox: One Giant Leap for Web Layout (CSS Day 2013)
Flexbox: One Giant Leap for Web Layout (CSS Day 2013)Flexbox: One Giant Leap for Web Layout (CSS Day 2013)
Flexbox: One Giant Leap for Web Layout (CSS Day 2013)
ย 
The New Photoshop, Part 2: The Revenge of the Web
The New Photoshop, Part 2: The Revenge of the WebThe New Photoshop, Part 2: The Revenge of the Web
The New Photoshop, Part 2: The Revenge of the Web
ย 
Go With The Flow
Go With The FlowGo With The Flow
Go With The Flow
ย 
Fronteers Workshop: Rabid Prototyping
Fronteers Workshop: Rabid PrototypingFronteers Workshop: Rabid Prototyping
Fronteers Workshop: Rabid Prototyping
ย 
Meta layout: a closer look at media queries
Meta layout: a closer look at media queriesMeta layout: a closer look at media queries
Meta layout: a closer look at media queries
ย 
Real-world Responsive Design @ Breaking Development 2011
Real-world Responsive Design @ Breaking Development 2011Real-world Responsive Design @ Breaking Development 2011
Real-world Responsive Design @ Breaking Development 2011
ย 
HTML5 & Webrichtlijnen 2
HTML5 & Webrichtlijnen 2HTML5 & Webrichtlijnen 2
HTML5 & Webrichtlijnen 2
ย 
Real-world Responsive Design
Real-world Responsive DesignReal-world Responsive Design
Real-world Responsive Design
ย 
De aanvrager wint
De aanvrager wintDe aanvrager wint
De aanvrager wint
ย 
The Future State of Layout
The Future State of LayoutThe Future State of Layout
The Future State of Layout
ย 
Web Guidelines Fronteers Teachers Day 2009
Web Guidelines Fronteers Teachers Day 2009Web Guidelines Fronteers Teachers Day 2009
Web Guidelines Fronteers Teachers Day 2009
ย 

Recently uploaded

Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptx
jeswinjees
ย 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptx
suhanimunjal27
ย 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
TusharBahuguna2
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
anilsa9823
ย 
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
aroranaina404
ย 
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Serviceyoung call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
young call girls in Vivek Vihar๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Vivek Vihar๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Serviceyoung call girls in Vivek Vihar๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Vivek Vihar๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcd
shivubhavv
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
ย 

Recently uploaded (20)

Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
ย 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
ย 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptx
ย 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptx
ย 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
ย 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
ย 
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
ย 
Pastel Portfolio _ by Slidesgo.pptx. Xxx
Pastel Portfolio _ by Slidesgo.pptx. XxxPastel Portfolio _ by Slidesgo.pptx. Xxx
Pastel Portfolio _ by Slidesgo.pptx. Xxx
ย 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
ย 
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Serviceyoung call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
ย 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
ย 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
ย 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
ย 
young call girls in Vivek Vihar๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Vivek Vihar๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Serviceyoung call girls in Vivek Vihar๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Vivek Vihar๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
ย 
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
ย 
Tapestry Clothing Brands: Collapsing the Funnel
Tapestry Clothing Brands: Collapsing the FunnelTapestry Clothing Brands: Collapsing the Funnel
Tapestry Clothing Brands: Collapsing the Funnel
ย 
Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcd
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
ย 
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
ย 

Style Guides Are The New Photoshop (Fronteers 2012)

  • 1. STYLE GUIDES ARE THE NEW PHOTOSHOP STEPHEN HAY @ FRONTEERS 2012
  • 2. DESIGNING IN THE BROWSER Demonstrating our designs to clients as XHTML/CSS pages rather than as static Photoshop or Fireworks has streamlined our work๏ฌ‚ow and helped us to set and manage a clientโ€™s expectations better than ever before. Andy Clarke, โ€œTime to stop showing clients static design visualsโ€ (2008)
  • 3. WALLS COME TUMBLING DOWN (2009) Coming up with new and better workflows Designing in the browser Learning to live with constraints Designing systems, rather than sites
  • 4. PHOTOSHOP IS IMPRACTICAL FOR RESPONSIVE DESIGN MOCKUPS
  • 5. PROBLEMS WITH โ€œPHOTOSHOPโ€ COMPS Design changes are time-consuming Too much manual work The image editor is a dependency Responsive design implies multiple and flexible layouts
  • 6. REALITY (Screenshots by Adobe Edge Inspect)
  • 7. WEB TECH IS VERY PRACTICAL FOR RESPONSIVE DESIGN MOCKUPS
  • 8. WEB-BASED COMPS: THE GOOD Doesnโ€™t need to take much longer than Photoshop Automate trivial tasks Realistic presentation / real-life rendering State changes are easily visualized Free and open: everyone has a browser & editor No negative surprises for the client Possible prep for development They can be responsive
  • 9. WE NEED TWO THINGS TO REPLACE PHOTOSHOP FOR COMPS
  • 10. 1. Static Web-based Comps 2. Style Guides
  • 12. STYLE GUIDES: THE GOOD No measuring State and breakpoint changes can be included Useful for future designers, devs & others Design consistency and maintainability
  • 13. STYLE GUIDES IN THE WILD Apple Identity Guidelines
  • 14. STYLE GUIDES IN THE WILD BBC GEL
  • 15. ANNA DEBENHAMโ€™S COLLECTION STYLE GUIDES, PATTERN LIBRARIES & TOOLS TO CREATE THEM http://gim.ie/fZyK
  • 16. MY WEB STYLE GUIDE WISHLIST
  • 19. Update code snippets automatically when mockup code changes
  • 20. Update screenshots automatically when something changes
  • 21. Elements/modules should not have to be physically split into separate files
  • 23. AM I TOO DEMANDING? Free-form writable Automated screenshot-taking Update code snippets automatically Update screenshots automatically No separate files for code snippets Syntax highlighting
  • 24. I COULD NOT FIND A SINGLE TOOL TO DO THIS
  • 26. Free-form writing DEXY + PANDOC (OR MARKDOWN) FILTER http://www.dexy.it/
  • 27. Taking screenshots PHANTOM.JS + CASPER.JS http://casperjs.org/ http://phantomjs.org/
  • 28. Code & screenshot updating JINJA TEMPLATES + DEXYโ€™S IDIOPIDAE FILTER
  • 29. Syntax highlighting DEXYโ€™S PYGMENTS FILTER
  • 30. THE COMMAND LINE http://www.flickr.com/photos/evdaimon/337754011/
  • 31.
  • 32.
  • 33.
  • 34. hi.
  • 36. How this works Web-based mockup Style guide content in Markdown Style guide screenshots taken, code snippets extracted HTML CSS SCREEN CODE
  • 37. STEPS
  • 38. 1 Create a web-based mockup Use HTML, CSS & when necessary, JavaScript Your goal is to represent the design in the browser Your goal is not to create production code Your CSS should be modular (it will end up in your style guide!)
  • 39. SMACSS MAKE CSS MORE MODULAR WITHโ€ฆ A LUMBERJACK.
  • 40. 2 Install Dexy & any dependencies If youโ€™re a designer and canโ€™t do it alone, ask a developerโ€™s help. Before you ask for help, try going to the sites and following the instructions as best you can.
  • 41. 2 Install PhantomJS & CasperJS If youโ€™re a designer and canโ€™t do it alone, ask a developerโ€™s help. Before you ask for help, try going to the sites and following the instructions as best you can.
  • 42. 3 Write your guide and use Jinja templates Use simple Markdown links to screenshots. Note the filenames you use.
  • 43. 4 Script your screenshots with CasperJS Keep things easy by adding a new casper.then() for each screenshot. Code brevity is not the goal.
  • 44. 5 Mark the CSS you want to export An export ends when another starts, or with @end.
  • 45. 6 Run Dexy Wow, that command line stuff is hard.
  • 46. DONE
  • 47. Changes in design? Run dexy again. Well, okay. In some cases you might want to do dexy cleanup followed by dexy setup and then dexy.
  • 48. Demo
  • 49. This is not without a learning curve. But what is?
  • 50. Choose what works for you. Hopefully something here will inspire you to find your own way. Experiment!
  • 51. These are new times. The problems we have with responsive workflow should encourage us to examine and evaluate our processes and tools.
  • 52. Have fun. Make great stuff. KEEP LEARNING. Thanks! @stephenhay Special thanks to Ana Nelson