Skip to content

Commit d4eb8e4

Browse files
committed
changing sass precision to 10
see twbs/bootstrap-sass#409 foundation/foundation-sites#4336 for examples of how the default precision of 5 causes rounding errors
1 parent afd5d58 commit d4eb8e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: lib/skins.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ module.exports = function (gulp, gutil) {
6161
.pipe(lr ? plumber()() : gutil.noop())
6262
.pipe(sourcemaps().init())
6363
.pipe(sass()({
64-
includePaths: opts.includePaths
64+
includePaths: opts.includePaths,
65+
precision: 10
6566
}))
6667
.pipe(sourcemaps().write())
6768
.pipe(rename()(opts.skin + '.css'))

0 commit comments

Comments
 (0)