Skip to content

Commit

Permalink
changing sass precision to 10
Browse files Browse the repository at this point in the history
see
twbs/bootstrap-sass#409
foundation/foundation-sites#4336
for examples of how the default precision of 5 causes rounding errors
  • Loading branch information
gxmikey committed Mar 20, 2016
1 parent afd5d58 commit d4eb8e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/skins.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ module.exports = function (gulp, gutil) {
.pipe(lr ? plumber()() : gutil.noop())
.pipe(sourcemaps().init())
.pipe(sass()({
includePaths: opts.includePaths
includePaths: opts.includePaths,
precision: 10
}))
.pipe(sourcemaps().write())
.pipe(rename()(opts.skin + '.css'))
Expand Down

0 comments on commit d4eb8e4

Please sign in to comment.