Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
Add sass precision to test suite for stability
Browse files Browse the repository at this point in the history
  • Loading branch information
whmii committed Jun 29, 2018
1 parent b51fb75 commit 9ea34b6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project adheres to [Semantic Versioning](http://semver.org).

## [Unreleased (`master`)][unreleased]

Nothing at the moment.
- Extend grid-media to accept multiple custom grids

## [2.1.0] - 2017-06-27

Expand Down
3 changes: 2 additions & 1 deletion Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ var paths = {
gulp.task("sass", function () {
return gulp.src(paths.scss)
.pipe(sass({
sourcemaps: true
sourcemaps: true,
precision: 6
}))
.pipe(autoprefix("last 2 versions"))
.pipe(gulp.dest("./contrib"))
Expand Down
2 changes: 1 addition & 1 deletion contrib/patterns/_grid-nested.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $grid--nested: (
);

.grid--nested {
@include grid-container($grid--nested);
@include grid-container;
}

.grid--nested__column {
Expand Down
2 changes: 1 addition & 1 deletion spec/support/sass_support.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module SassSupport
def generate_css
_mkdir("tmp")
`sass -I . --update spec/fixtures:tmp --quiet`
`sass -I . --update spec/fixtures:tmp --quiet --precision 5`
end

def clean_up
Expand Down

0 comments on commit 9ea34b6

Please sign in to comment.