/* SASS */
$black: #000;
#header {
color: $black;
.navigation {
font-size: 12px;
}
.logo {
width: 300px;
}
}/* CSS */
#header {
color: #000;
}
#header .navigation {
font-size: 12px;
}
#header .logo {
width: 300px;
}#header {
color: #6c94be;
}
#footer {
background-color: #5B83AD;
color: #e0e0e0;
}
.another-element {
background-color: #e0e0e0;
color: #5B83AD;
}$dark-grey: #e0e0e0;
$nice-blue: #5B83AD;
$light-blue: @nice-blue + #111;
#header {
color: $light-blue;
}
#footer {
background-color: $nice-blue;
color: $dark-grey;
}
.another-element {
background-color: $dark-grey;
color: $nice-blue;
}#header {
color: #6c94be;
}/* variables.scss */
$dark-grey: #e0e0e0;
$nice-blue: #5B83AD;
$light-blue: $nice-blue + #111;/* landing-page.scss */
@import "variables"
#header {
color: $light-blue;
}/* CSS */
#header {
color: black;
}
#header .navigation {
font-size: 12px;
}
#header .logo {
width: 300px;
}/* LESS */
@black: #000;
#header {
color: $black;
.navigation {
font-size: 12px;
}
.logo {
width: 300px;
}
}#header {
color: #6c94be;
}
#footer {
background-color: #5B83AD;
color: #e0e0e0;
}
.another-element {
background-color: #e0e0e0;
color: #5B83AD;
}@dark-grey: #e0e0e0;
@nice-blue: #5B83AD;
@light-blue: @nice-blue + #111;
#header {
color: @light-blue;
}
#footer {
background-color: @nice-blue;
color: @dark-grey;
}
.another-element {
background-color: @dark-grey;
color: @nice-blue;
}#header {
color: #6c94be;
}/* variables.less */
@dark-grey: #e0e0e0;
@nice-blue: #5B83AD;
@light-blue: @nice-blue + #111;/* landing-page.less */
@import "variables"
#header {
color: @light-blue;
}
Differences are mostly stylistic
JavaScript Utility Belt
* For many of the next slides, it is assumed that you have previously installed node.js
npm install -g grunt-cli bower yo &&
npm install -g generator-karma &&
npm install -g generator-angular &&
mkdir my-angular-app && cd $_ &&
yo angular my-angular-app1 Liner Yeomen install + angular setup
npm install -g slush &&
npm install -g slush-angular &&
mkdir my-slush-angular-app && cd $_ &&
slush angular1 Liner Slush install + angular setup