using sass as your style guide

34
{style with attitude} Alexis Finch @agentfin #modevux

Upload: alexis-finch

Post on 05-Dec-2014

319 views

Category:

Technology


1 download

DESCRIPTION

Style guides are inherited from the old days of print. Defining typography and inks to ensure the next magazine looked like the last one. They were on paper, for paper. Designers were the ones who owned these documents, and they've inherited them for the web. Sure, sometimes style guides are put up online, as their own website. But they're still not in the code. This means that designs get set, then chucked over the fence to the folks who actually implement them, often leading to painful rewrites when design changes happen [Blue. No, yellow!]. By making Sass act as your style guide, breaking design into variables and mixins, a site becomes easier to maintain, and often options get opened up that someone on the visual side wouldn't have thought possible.

TRANSCRIPT

Page 1: Using Sass as Your Style Guide

{style with attitude} Alexis Finch@agentfin

#modevux

Page 2: Using Sass as Your Style Guide

by Robby Ingebretsen nerdplusart.com

Page 3: Using Sass as Your Style Guide
Page 4: Using Sass as Your Style Guide

after Erik Flowers helloerik.com

Page 5: Using Sass as Your Style Guide
Page 6: Using Sass as Your Style Guide
Page 7: Using Sass as Your Style Guide
Page 8: Using Sass as Your Style Guide
Page 9: Using Sass as Your Style Guide
Page 10: Using Sass as Your Style Guide
Page 11: Using Sass as Your Style Guide
Page 12: Using Sass as Your Style Guide
Page 13: Using Sass as Your Style Guide

separation of

CONTENTfrom PRESENTATION

Page 14: Using Sass as Your Style Guide
Page 15: Using Sass as Your Style Guide

HOWnot

WHAT

Page 16: Using Sass as Your Style Guide
Page 17: Using Sass as Your Style Guide

Sass:Syntactically Awesome Stylesheets

Page 18: Using Sass as Your Style Guide
Page 19: Using Sass as Your Style Guide

From many files into one stylesheet…

Page 20: Using Sass as Your Style Guide

PreprocessorsSass or SCSS or LESS or Stylus…. Whatever.

Sass if you’re using Ruby.-> media queries built in-> get to use Compass

Stylus if you’re using Node.-> keyframes built in-> utilize Node modules

LESS is …less.

Page 21: Using Sass as Your Style Guide

$blue: #24bcd4

.buttonsborder-color: darken($blue, 17%)

THE MAGIC OF

VARIABLES!!!

Page 22: Using Sass as Your Style Guide

from Stephen Haythe-haystack.com

Page 23: Using Sass as Your Style Guide
Page 24: Using Sass as Your Style Guide
Page 25: Using Sass as Your Style Guide
Page 26: Using Sass as Your Style Guide

IT CAN EVEN DO MATH

Page 27: Using Sass as Your Style Guide

by Brian Shaler crappygraphs.com

Page 28: Using Sass as Your Style Guide

NO PROBLEM.

Page 29: Using Sass as Your Style Guide

YOU CAN BE

F L E X I B L E

Page 30: Using Sass as Your Style Guide

and FAST

Page 31: Using Sass as Your Style Guide

SUPER

Page 32: Using Sass as Your Style Guide
Page 33: Using Sass as Your Style Guide

SKYPE

Page 34: Using Sass as Your Style Guide

Alexis Finch@agentfin

Thanks to [in order of appearance]

@ingebretsen@erik_ux

@stephenhay@itsdoge

@brianshaler