State of the Sass (LDN Sass, April 15th, 2015)
Post on 15-Jul-2015
854 Views
Preview:
Transcript
Live SassBiteMicah Godbolt chats with Hampton
https://www.youtube.com/watch?v=gaDC4yiXn-U
TL;DWThe @include syntax could be simpler
They’re trying to pick syntaxes that don’t clash with W3C
Support for variable scoping @at-root
Loads of bug fixes and more testsExperimental support for plugins
3.2.0 is close!
3.2.0-beta.5
Launched in Jan 2014
Runs libsass 3.1.0 since Jan 2015
A fair warning: minified it's 2.2MB, gzipped it's 611KB. node-sass is about 20 times faster than Sass.js
https://github.com/medialize/sass.js
Sass.js
Sass-Lint(eventually) SCSS-Lint for Node
https://github.com/sasstools/sass-lint By @snugug
$foo: _sort(3 1 4 2 6 5 8 7 9);// => 1 2 3 4 5 6 7 8 9
$foo: _sort(3 1 4 2 6 5 8 7 9, 'desc');// => 9 8 7 6 5 4 3 2 1
$users: ( ( 'user': 'barney', 'age': 36 ), ( 'user': 'fred', 'age': 40 ));$foo: _pluck($users, 'user');// => ('barney', 'fred')$user-index: _index-by($users, 'user');$foo: _pluck($user-index, 'age');// => (36, 40)
Grunt SassyCleanScans a project for partials that are never imported.
https://github.com/ryanburgess/grunt-sassyclean
NPM modules for Sass
npm install eyeglass npm install my_eyeglass_module
// file.scss@import "<my_eyeglass_module>/file";
Modules can add additional custom functions to Sass that are written in JavaScript.
top related