Styling Hillary

A presentation at Respond 2017 in May 2017 in Sydney NSW, Australia by Mina Markham

Slide 1

Slide 1

Styling Hillary

Slide 2

Slide 2

Trying (and failing) to save the Republic with CSS a.k.a.

Slide 3

Slide 3

The longest 18 months of my life OMG! a.k.a.

Slide 4

Slide 4

⚠ ️

CAUTION MAY CONTAIN POLITICS

Slide 5

Slide 5

Slide 6

Slide 6

mina.codes @ minamarkham Hi, I’m Mina $

Slide 7

Slide 7

Slide 8

Slide 8

Slide 9

Slide 9

Slide 10

Slide 10

mina.so/pantsuit-post

Slide 11

Slide 11

An 18-month , nationally televised hackathon

Slide 12

Slide 12

% Broke the homepage of hillaryclinton.com

& Launched a site for oppositional content ❤ ️ Built design system used by dozens of apps ( Created a dashboard for caucus data ♿ Led effort for accessibility compliance * Implemented redesign of hillaryclinton.com

Helped build a custom CMS for new site , ️ Ran tech talk series

Had the time of my life

Slide 13

Slide 13

% Broke the homepage of hillaryclinton.com

& Launched a site for oppositional content ❤ ️ Built design system used by dozens of apps ( Created a dashboard for caucus data ♿ Led effort for accessibility compliance * Implemented redesign of hillaryclinton.com

Helped build a custom CMS for new site , ️ Ran tech talk series

Had the time of my life

Slide 14

Slide 14

[ insert email joke here ]

Slide 15

Slide 15

Slide 16

Slide 16

Slide 17

Slide 17

June 2015

Slide 18

Slide 18

Election Day

Slide 19

Slide 19

We need a Bootstrap … “ Kyle Rush, Deputy CTO

Slide 20

Slide 20

Design System? Pattern Library? Styleguide?

Slide 21

Slide 21

Naming things is hard.

Slide 22

Slide 22

Pattern Library:

Library of UI patterns

Slide 23

Slide 23

Framework:
The front-end code

Slide 24

Slide 24

Style Guide:
The documentation

Slide 25

Slide 25

Design System: All of the above (and more)

Slide 26

Slide 26

mina.so/ds-anatomy

Slide 27

Slide 27

mina.so/ds-anatomy

Slide 28

Slide 28

…and it needs a good name . “ Kyle Rush, Deputy CTO

Slide 29

Slide 29

Pantsuit?

Slide 30

Slide 30

Slide 31

Slide 31

Why did we need it?

Slide 32

Slide 32

hillaryclinton.com

Slide 33

Slide 33

hillaryclinton.com

Slide 34

Slide 34

hillaryclinton.com/donate

Slide 35

Slide 35

hillaryclinton.com/calls

Slide 36

Slide 36

hillaryclinton.com/literallytrump

Slide 37

Slide 37

hillaryclinton.com/briefing

Slide 38

Slide 38

Multiple codebases. One UI.

Slide 39

Slide 39

Partners

Visual Design . Product Design Stakeholders

Content / Storytelling / Fundraising 0 Organizing ✅ Voter 2 Engagement 3 ️ Data Infrastructure ( Analytics Support

4 ️ Front-End Ops 5 Dev Ops

Slide 40

Slide 40

Te a m : 6

Slide 41

Slide 41

Done is better than perfect .

Slide 42

Slide 42

If we don’t ship on time , the ship will have sailed. Stephanie Hannon, CTO “

Slide 43

Slide 43

Pantsuit 1.0 ≈ 6 weeks

Slide 44

Slide 44

Te c h n i c a l d e b t i s
your “ friend ”

Slide 45

Slide 45

Slide 46

Slide 46

As time progressed, maintainability went down and stability went up. Ve r y O f f i c i a l C h a r t ™ Ve r y O f f i c i a l C h a r t ™

Slide 47

Slide 47

If you don’t have technical debt , you’re not moving fast enough.

Slide 48

Slide 48

Slide 49

Slide 49

How did you do it?

Slide 50

Slide 50

Slide 51

Slide 51

Slide 52

Slide 52

Slide 53

Slide 53

Slide 54

Slide 54

Slide 55

Slide 55

(Re)Define Implement Iterate Test

Slide 56

Slide 56

Define

Slide 57

Slide 57

Slide 58

Slide 58

Slide 59

Slide 59

Slide 60

Slide 60

BUTTONS INPUTS DROPDOWNS CARDS HIGHLIGHTS HEADLINES PULLQUOTES

Slide 61

Slide 61

Slide 62

Slide 62

Implement

Slide 63

Slide 63

Dogfooding

Slide 64

Slide 64

Do it live!

Slide 65

Slide 65

Framework Product UI Kit

Slide 66

Slide 66

Slide 67

Slide 67

Slide 68

Slide 68

Te s t

& Iterate

Slide 69

Slide 69

Slide 70

Slide 70

Slide 71

Slide 71

Slide 72

Slide 72

Slide 73

Slide 73

How did you do it by yourself ?

Slide 74

Slide 74

Collaboration

Slide 75

Slide 75

Pantsuit Council

Slide 76

Slide 76

5 4 ️ ✅ / 0 2 + ⭐ 8 8 9 8 8 8 6 8 8 8 9 8 8

Slide 77

Slide 77

Documentation

Slide 78

Slide 78

Slide 79

Slide 79

Slide 80

Slide 80

Slide 81

Slide 81

Slide 82

Slide 82

Slide 83

Slide 83

Slide 84

Slide 84

Slide 85

Slide 85

The documentation for Pantsuit is a great example of form following

function : it served as a source of inspiration as well as a how-to. BETH ANDRES-BECK , Senior Engineer, Fundraising “

Slide 86

Slide 86

Automation

Slide 87

Slide 87

❤ ️

Slide 88

Slide 88

Slide 89

Slide 89

Slide 90

Slide 90

post-publish.js

Slide 91

Slide 91

PANTSUIT • Backend Teams • Internal dashboards • Documentation • Most common • Front-end boilerplate • Donations CDN NPM MANUAL npm publish git push download v2.1.0

Slide 92

Slide 92

“ Pantsuit made it so we could deploy style changes to our 100+ microsites

instantaneously and cache styles across all sites easily and consistently . Nat Welch, SRE, Dev Ops

Slide 93

Slide 93

What was the outcome?

Slide 94

Slide 94

Slide 95

Slide 95

Pantsuit turned our tech products into a couture collection – each app individually crafted with unifying motifs that tied them together. It was hands down the best tool

we had at our disposal on the campaign ❤ ️ . KYLE LUCOVSKY , Engineer, Voter Team “ “

Slide 96

Slide 96

Slide 97

Slide 97

Slide 98

Slide 98

Slide 99

Slide 99

Source: https://twitter.com/MinaMarkham/status/806244330826592256

Slide 100

Slide 100

Slide 101

Slide 101

Source: https://www.reddit.com/r/The_Donald/comments/53quh5/meet_mina_markham_the_designer_of_hillarys_ui/

Slide 102

Slide 102

Slide 103

Slide 103

Slide 104

Slide 104

WASTELAND REDDIT IS A

Slide 105

Slide 105

Source: https://twitter.com/MinaMarkham/status/805934566695464960

Slide 106

Slide 106

Source: https://twitter.com/uzumaki42/status/806215721252507649

Slide 107

Slide 107

Slide 108

Slide 108

WASTELAND REDDIT TWITTER IS A

Slide 109

Slide 109

Slide 110

Slide 110

Slide 111

Slide 111

WASTELAND REDDIT TWITTER IS A FACEBOOK

Slide 112

Slide 112

WASTELAND REDDIT TWITTER IS A FACEBOOK THE INTERNET

Slide 113

Slide 113

Source: https://twitter.com/lizzaretsky/status/855042702278307840

Slide 114

Slide 114

Source: https://twitter.com/MinaMarkham/status/855452958393114624

Slide 115

Slide 115

Source: https://twitter.com/stephantaylor/status/741151893460819968

Slide 116

Slide 116

Source: https://twitter.com/MinaMarkham/status/741291821884661760

Slide 117

Slide 117

Slide 118

Slide 118

fakenews

Slide 119

Slide 119

Slide 120

Slide 120

Slide 121

Slide 121

Slide 122

Slide 122

Slide 123

Slide 123

Slide 124

Slide 124

Open Source

Slide 125

Slide 125

Open Source

Slide 126

Slide 126

Slide 127

Slide 127

Slide 128

Slide 128

Was it worth it ?

Slide 129

Slide 129

Slide 130

Slide 130

Slide 131

Slide 131

: Landon Nordeman/TIME

Slide 132

Slide 132

Slide 133

Slide 133

Slide 134

Slide 134

Slide 135

Slide 135

Slide 136

Slide 136

: Barbara Kinney/Hillary for America

Slide 137

Slide 137

: Samuel Fisch/Hillary for America

Slide 138

Slide 138

Slide 139

Slide 139

Slide 140

Slide 140

Slide 141

Slide 141

: Barbara Kinney/Hillary for America

Slide 142

Slide 142

: Sara Kerens

Slide 143

Slide 143

: Samuel Fisch/Hillary for America

Slide 144

Slide 144

: Barbara Kinney/Hillary for America

Slide 145

Slide 145

Slide 146

Slide 146

Thank you

mina.codes @ minamarkham

Slide 147

Slide 147

Resources + Credits

; Emoji provided free by Emoji One

< Campaign photos by Barbara Kinney
and Samuel Fisch

️ Fonts: Niveau Grotesk, PT Mono &
EloquentJFPro, provided by Typekit

️ Washington Wasteland image from Fallout 3 ? ️ Icons by The Noun Project