8000 feat(frontend): update sass compiler/toolchain by ewdurbin · Pull Request #1709 · python/pythondotorg · GitHub
[go: up one dir, main page]

Skip to content

feat(frontend): update sass compiler/toolchain #1709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
patch unsupported multiline comments in susy lib
  • Loading branch information
ewdurbin committed Apr 27, 2021
commit 3326515cb4d867b4d58f53a71af166c536d87cff
9 changes: 3 additions & 6 deletions static/vendor/susy-1.0.5/sass/susy/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ $rem-with-px-fallback : true !default;
$columns : $total-columns
) {
@if round($columns) != $columns {
@warn "Susy works best with integer column-spans.
For partial-columns, you may need to finesse the math by hand using functions directly.";
@warn "Susy works best with integer column-spans. For partial-columns, you may need to finesse the math by hand using functions directly.";
}
@return ($columns * $column-width) + (if($columns >= 1, ceil($columns - 1), 0) * $gutter-width);
}
Expand Down Expand Up @@ -270,12 +269,10 @@ $rem-with-px-fallback : true !default;
$min: nth($media,2);
}
} @else {
@warn "Can't compare incompatible units.
Using #{$min} for min-width, and #{$max} for max-width";
@warn "Can't compare incompatible units. Using #{$min} for min-width, and #{$max} for max-width";
}
@if (length($media) > 2) {
@warn "You can only send two lengths: a min-width and an (optional) max-width.
You sent #{length($media)}: #{$media}";
@warn "You can only send two lengths: a min-width and an (optional) max-width. You sent #{length($media)}: #{$media}";
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions static/vendor/susy-1.0.5/sass/susy/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@
}

} @else {
@warn "You need to provide either a valid layout (number of columns)
or a valid media-query min-width breakpoint (length).";
@warn "You need to provide either a valid layout (number of columns) or a valid media-query min-width breakpoint (length).";
}

}
0