There is often a vocabulary gap between designers an developers, who should aim towards a ubiquitous way of conversing about colours, typography, viewport sizes, or the responsive grid system of a digital product… To bridge this gap at the Guardian, we use a CSS pre-processor as a communication enabler through the abstractions it allows us to put in place.
Talk given at re:revelop 2014 in Bournemouth on 22/08/2014: http://redevelop.io/
26. @kaelig
Our context
Lots of contributors
Different skill sets
People speaking different languages
27. @kaelig
Our context
Lots of contributors
Different skill sets
People speaking different languages
We release early and often
28. @kaelig
Our context
Lots of contributors
Different skill sets
People speaking different languages
We release early and often
We want to keep it that way
49. sass-mq
git.io/sass-mq
• Reusable @media query abstraction
• A breakpoint has a name, instead of
being called by its width
• Simplifies cross-browser support (IE8)
@kaelig
69. Takeaways
• Machines can (must) do maths, so you
don’t have to
• The sum of the parts does not equal the
whole (grid system + breakpoints)
@kaelig
70.
71. 20px/28px bolder
16px/20px normal
32px/36px normal
14px/18px normal
14px/18px normal
32px/36px normal
14px/18px normal
14px/18px normal
16px/20px normal
text sans 12px/16px
text sans 12px/16px
20px/24px normal
77. 20px/28px bolder
16px/20px normal
32px/36px normal
14px/18px normal
14px/18px normal
32px/36px normal
14px/18px normal
14px/18px normal
16px/20px normal
text sans 12px/16px
text sans 12px/16px
20px/24px normal
78. Header 3
Headline 2
Headline 1
Headline 6
Headline 1
Headline 1
Headline 2
Headline 6
Text Sans 1
Text Sans 1
Headline 3
Headline 1
81. Takeaways
• When no naming convention is in
place, you can get together and set a
new one
@kaelig
82. Takeaways
• When no naming convention is in
place, you can get together and set a
new one
• Putting design principles into in code
can improve UI consistency
@kaelig
85. Bridge the gap between
developers and designers
@kaelig
Credits:
Mars Climate Orbiter 2 — By NASA/JPL/Corby Waste [Public domain], via Wikimedia Commons — http://commons.wikimedia.org/wiki/File
%3AMars_Climate_Orbiter_2.jpg
Hipster — Cámara espía — https://flic.kr/p/cXMuEd
Mug — slavik_V — https://flic.kr/p/9WgM9D
swiss style grid sample — Filipe Varela — https://flic.kr/p/4xLDb1
Gene Wilburn — A Splash of Colour — https://flic.kr/p/5VK8kv
Glasses designed by Okan Benn from the Noun Project
Document designed by Jamison Wieser from the Noun Project