Skip to content

Commit

Permalink
Disable @each loop by default
Browse files Browse the repository at this point in the history
  • Loading branch information
zetareticoli committed Sep 29, 2020
1 parent e56144f commit 6a0e925
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitgnore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Node
node_modules
node_modules/
14 changes: 7 additions & 7 deletions lib/_tools.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
@include bp(md) {
font-size: rem($size-base-px);
}
}
@else {
} @else {
font-size: rem($size-base-px);
}

line-height: calc(1em + #{$baseline});
}

// Loop throught types map printing classnames based on type names
@each $type, $sizes in $types {
.#{$type} {
@include type-size($type)
}
}
// Remove // to enable classes
// @each $type, $sizes in $types {
// .#{$type} {
// @include type-size($type)
// }
// }
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typesmith-lib",
"version": "1.1.0",
"version": "1.1.2",
"description": "Responsive typgography system",
"main": "_typesmith.scss",
"directories": {
Expand Down

0 comments on commit 6a0e925

Please sign in to comment.