<commit_before>// --------------------------------------------------------------------------
// Breakpoints
// --------------------------------------------------------------------------
// The base css should be for mobile. on top of that styles for other (wider)
// browser windows can be layered on top.
//
// Usage:
// div.columns {
//   border: 1px solid;
//   width: 100%;
//
//   @include breakpoint(medium){
//     width: 30%;
//     float: left;
//   }
// }
// --------------------------------------------------------------------------


@mixin breakpoint($breakpoint-name) {

	// Check if breakpoint name is valid (exists in `$breakpoints` list)
	@if map-get($breakpoints, $breakpoint-name) != null {
			$breakpoint-value: map-get($breakpoints, $breakpoint-name);

			@if $breakpoint-value != null {
				@media (min-width: $breakpoint-value) {
					@content;
				}<commit_msg>Add `max-width` option to the breakpoints tools partial.<commit_after>// --------------------------------------------------------------------------
// Breakpoints
// --------------------------------------------------------------------------
// The base css should be for mobile. on top of that styles for other (wider)
// browser windows can be layered on top.
//
// Usage:
// div.columns {
//   border: 1px solid;
//   width: 100%;
//
//   @include breakpoint(medium){
//     width: 30%;
//     float: left;
//   }
// }
// --------------------------------------------------------------------------


@mixin breakpoint($breakpoint-name, $max-width: false) {

	// Check if breakpoint name is valid (exists in `$breakpoints` list)
	@if map-get($breakpoints, $breakpoint-name) != null {
			$breakpoint-value: map-get($breakpoints, $breakpoint-name);

			@if $breakpoint-value != null {
				@if $max-width == 'max' {
					@media (max-width: $breakpoint-value) {
						@content;
					}
				}
				@else {
					@media (min-width: $breakpoint-value) {
						@content;
					}
				}
{'fraction_non_alphanumeric': 0.3571793561573838, 'fraction_numerical': 0.0061318344404701075, 'mean_word_length': 1.2454128440366972, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3950602', 'n_tokens_mistral': 592, 'n_tokens_neox': 512, 'n_words': 143}