Top Banner
SASS ARCHITECTURE Steve Vadocz Front End Developer
11

SASS Architecture

Aug 23, 2014

Download

Internet

Steve Vadocz

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SASS Architecture

SASS ARCHITECTURE

Steve VadoczFront End Developer

Page 2: SASS Architecture

With CSS things can go wrong

fast.• CSS specificity• Different coding styles• Preprocessors

Page 3: SASS Architecture

CSS Guidelines

Page 4: SASS Architecture

CSS Guidelines

Page 5: SASS Architecture

CSS Guidelines

Page 6: SASS Architecture

File systembasecomponentsutils_configurations.scss_utility-classes.scss_variables.scss_toolkit.scss

Page 7: SASS Architecture

File system

Page 8: SASS Architecture

New file systemgenericobjectscomponentstoolkit.scss

Base/resetVariablesBrand (colors)FunctionsMixinsClearfixetc

ButtonsListsGridMediaIslandBoxetc

Page 9: SASS Architecture

Why?

ScalabilityMaintainabilityModularity

Page 10: SASS Architecture

Why?

Page 11: SASS Architecture

FutureAtomic designNaming convention - BEM?

SASS:

JS GuidelinesRefactoring

- performance- less dependant on jQuery

JavaScript: