Skip to content

Commit

Permalink
Add get-breakpoint function
Browse files Browse the repository at this point in the history
Resolved #148
  • Loading branch information
Snugug committed Feb 21, 2016
1 parent 221ac33 commit 0c9dd50
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion stylesheets/breakpoint/_respond-to.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,13 @@ $BREAKPOINTS: () !default;
$BREAKPOINTS: map-merge($BREAKPOINTS, $output) !global;
}
}
}
}

@function get-breakpoint($name: false) {
@if $name == false {
@return $BREAKPOINTS;
}
@else {
@return map-get($BREAKPOINTS, $name);
}
}

0 comments on commit 0c9dd50

Please sign in to comment.