jina bolton - in the search of the single source of truth

83
In Search of the Single Source of Truth @JINA // DEVCONFU // J Ū RMALA // 2014

Upload: devconfu

Post on 13-May-2015

305 views

Category:

Software


1 download

DESCRIPTION

Product design and development can cover a range of devices and platforms: iPhone, iPad, Android phones and tablets, responsive web applications and web sites, desktop apps… and if you work in a very large organization, you may have a range of products and features within each of these areas. In order to stay productive and effective across teams, platforms, and/or devices, systemic design and development is imperative. Style Guides are a great step towards keeping everything aligned. But how can the style guide be a maintainable, useful resource rather than a distraction? Learn from a product designer's perspective from past and current projects how she and her teams have strived to maintain a "single source of truth" for a truly living spec through a living style guide and prototype — all of which can improve your product design and development lifecycle.

TRANSCRIPT

Page 1: Jina Bolton - in the search of the single source of truth

In Search of theSingle Source of Truth@ J I N A / / D E V CO N F U / / JŪR M A L A / / 2 0 1 4

Page 2: Jina Bolton - in the search of the single source of truth

@jina

Page 3: Jina Bolton - in the search of the single source of truth

Senior Product Designer

Page 4: Jina Bolton - in the search of the single source of truth

— N AT E F O R T I N

“A fractured process makes for a fractured user experience.”

Page 5: Jina Bolton - in the search of the single source of truth

Style Guides are all the rage… A N D T H E Y H A V E CO M E A LO N G W A Y.

Page 6: Jina Bolton - in the search of the single source of truth

2004 // PDF Style Guide

Page 7: Jina Bolton - in the search of the single source of truth

PDFs are a pain to maintain.H E Y, T H AT R H Y M E S .

Page 8: Jina Bolton - in the search of the single source of truth

2007–2008 // Wordpress Style Guide

Page 10: Jina Bolton - in the search of the single source of truth

Design & Brand Standards

Front-end Development Standards

Keeping Style Guides Current & Useful

Page 11: Jina Bolton - in the search of the single source of truth

Wordpress was only slightly easier.… A N D N O B O D Y E X C E PT M E W O U L D U P D AT E I T.

Page 12: Jina Bolton - in the search of the single source of truth

2010–2011 // Living Style Guide with Sass

Page 13: Jina Bolton - in the search of the single source of truth
Page 14: Jina Bolton - in the search of the single source of truth

Engine Yard App Cloud Style Guide, Early 2011

Page 15: Jina Bolton - in the search of the single source of truth

ZOMG!

Page 16: Jina Bolton - in the search of the single source of truth

Engine Yard App Cloud Style Guide, Early 2011

Page 17: Jina Bolton - in the search of the single source of truth

Sass & Style Guides are awesome together!

Page 19: Jina Bolton - in the search of the single source of truth

Make Documentation a regular part of your work!ow.

0 1 / /

Page 20: Jina Bolton - in the search of the single source of truth

Don’t try to document everything at once.Y O U ’ L L L I K E LY G I V E U P.

Page 21: Jina Bolton - in the search of the single source of truth

Document going forward.

Page 22: Jina Bolton - in the search of the single source of truth

Making something new? Document it.

Page 23: Jina Bolton - in the search of the single source of truth

Revising something? Refactor it.Then document it.

Page 24: Jina Bolton - in the search of the single source of truth

During design & code reviews, make sure decisions are documented.

Page 25: Jina Bolton - in the search of the single source of truth

2012–2013 // Living Style Guide with Sass for Web App & SiteGithub Wiki for iOS & Android

Page 26: Jina Bolton - in the search of the single source of truth

Do CSS Style Guide, Late 2013

Page 27: Jina Bolton - in the search of the single source of truth

Do Responsive Layout Guide, Early 2013

Page 28: Jina Bolton - in the search of the single source of truth

For mobile, changes to colors & sizes were a nightmare to update.P H O TO S H O P ⟶"D R O P B O X ⟶"W I K I ⟶"☹ � �

Page 29: Jina Bolton - in the search of the single source of truth

Document your ideal CSS Architecture.

0 2 / /

Page 30: Jina Bolton - in the search of the single source of truth

vendor/

dependencies/

base/

components/

regions/

helpers/

responsive/

tools/

} my ideal css architecture

Page 31: Jina Bolton - in the search of the single source of truth

Make aUI Library.

0 3 / /

Page 34: Jina Bolton - in the search of the single source of truth

Create pages

Page 35: Jina Bolton - in the search of the single source of truth

Create systems

Page 37: Jina Bolton - in the search of the single source of truth

01 // Base HTML elements

02 // Modular components

03 // Page regions

04 // Layout system

Page 38: Jina Bolton - in the search of the single source of truth

Show the object with all of its associated states.

Page 41: Jina Bolton - in the search of the single source of truth

Show the code you want people to use, not the !nal output.

Page 42: Jina Bolton - in the search of the single source of truth

Add development tools for rapid development and testing.

0 4 / /

Page 50: Jina Bolton - in the search of the single source of truth

Try a responsive sandbox during development.

Page 51: Jina Bolton - in the search of the single source of truth

Do Responsive Layout Guide, Early 2013

Page 52: Jina Bolton - in the search of the single source of truth

Keep documentation current & useful.

0 5 / /

Page 54: Jina Bolton - in the search of the single source of truth

2013 // Living Style Guide with Sass + ERB & YAML

Page 59: Jina Bolton - in the search of the single source of truth

We open sourced the website. Anyone can contribute to design.

Page 60: Jina Bolton - in the search of the single source of truth

What if a new color gets added?T H E S T Y L E G U I D E N E E D S TO B E U P D AT E D , TO O .

Page 61: Jina Bolton - in the search of the single source of truth

Can the CSS & Style Guide both share the same attributes in one single con!guration?

Page 62: Jina Bolton - in the search of the single source of truth

Single Source of Truth

Page 63: Jina Bolton - in the search of the single source of truth

Don’t Repeat Yourself

Page 64: Jina Bolton - in the search of the single source of truth

colors:

- name: hopbush

hex: "c69"

- name: bouquet

hex: "b37399"

- name: venus

hex: "998099"

- name: patina

hex: "699"

- name: nebula

hex: "d2e1dd"

- name: white

hex: "fff"

<% data.color.colors.each do |swatch| %>

$<%= swatch.name %>: #<%= swatch.hex %>;

<% end %>

data/color.yml _color.scss.erb

Page 65: Jina Bolton - in the search of the single source of truth

colors:

- name: hopbush

hex: "c69"

- name: bouquet

hex: "b37399"

- name: venus

hex: "998099"

- name: patina

hex: "699"

- name: nebula

hex: "d2e1dd"

- name: white

hex: "fff"

%ul.swatches

- for swatch in data.color.colors

%li{class: "swatch-" + swatch.name}

%pre

%code

= "$" + swatch.name

%br/

= "#" + swatch.hex

data/color.yml _color.haml

Page 66: Jina Bolton - in the search of the single source of truth

Sass Color Style Guide

Page 67: Jina Bolton - in the search of the single source of truth

2014 // Living Style Guide & Prototype with Sass & Angular as Spec+ Living Variables System for All Devices & Platforms

Page 69: Jina Bolton - in the search of the single source of truth

Prototypes

Aura (our web framework)

Native iOS

Native Android

Native Windows

Page 70: Jina Bolton - in the search of the single source of truth

How do we keep our colors, spacing, & sizes consistent?

Page 71: Jina Bolton - in the search of the single source of truth

TheoB Y S A L E S F O R C E U X / / O P E N S O U R C I N G / / CO M I N G V E R Y S O O N !

Page 72: Jina Bolton - in the search of the single source of truth

Theo: theme tokenizer with JSON input

Sass

Stylus

LESS

Aura

plist

XML

{

Page 73: Jina Bolton - in the search of the single source of truth

sfdc-styleguide.herokuapp.com

Page 74: Jina Bolton - in the search of the single source of truth

@SalesforceUX

Page 75: Jina Bolton - in the search of the single source of truth

dribbble.com/salesforce

Page 76: Jina Bolton - in the search of the single source of truth

sass-lang.com

Page 77: Jina Bolton - in the search of the single source of truth

@TeamSassDesign

Page 78: Jina Bolton - in the search of the single source of truth

dribbble.com/TeamSassDesign

Page 79: Jina Bolton - in the search of the single source of truth

themixinsf.com

Page 80: Jina Bolton - in the search of the single source of truth

susy.oddbird.net

Page 81: Jina Bolton - in the search of the single source of truth

artinmycoffee.com

Page 82: Jina Bolton - in the search of the single source of truth

— G U S TA V E F L A U B E R T

“Be regular and orderly in your life so that you may be violent and original in your work.”

Page 83: Jina Bolton - in the search of the single source of truth

T W I T T E R , D R I B B B L E , I N S T A G R A M , & G I T H U B

@jina