<commit_before>/**
 * Myplanet theme for reveal.js.
 */

// Default mixins and settings -----------------
@import "../template/mixins";
@import "../template/settings";
// ---------------------------------------------

// Include theme-specific fonts
@import url(../../lib/font/source-sans-pro/source-sans-pro.css);
@import url(../../lib/font/poppins/poppins.css);

// Override theme settings (see ../template/settings.scss)
$backgroundColor: #fff;

$mainColor: #222;
$headingColor: #222;

$mainFontSize: 1em;
$mainFont: 'Poppins', 'Source Sans Pro', Helvetica, sans-serif;
$headingFont: 'Poppins', 'Source Sans Pro', Helvetica, sans-serif;
$headingTextShadow: none;
$headingLetterSpacing: normal;
$headingTextTransform: none;
$headingFontWeight: 600;
$linkColor: #42affa;
$linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% );

$heading1Size: 2.5em;
$heading2Size: 1.6em;
$heading3Size: 1.3em;
$heading4Size: 1.0em;

section.has-light-background {
	&, h1, h2, h3, h4, h5, h6 {
		color: #222;
	}
}

// Theme template ------------------------------
@import "../template/theme";
// ---------------------------------------------

$viewport-tiny: "max-width: 568px";
$viewport-small: "max-width: 768px";
$viewport-wide: "min-width: 1280px";

$white: #FFFFFF;
$light-grey: #EEEDEF;
$grey: #66646B;
$radiant: #F25930;
$ice: #9292A8;
$midnight: #2A2A49;

$patterns: (
	'molecules': (
		'intro-bg': #FAFAFA,
		'title-bg': #872E27,
	),
	'night-sky': (
		'intro-bg': #DEF9F6,
		'title-bg': #0D7D7F,
	),
	'orange-river': (
		'intro-bg': #FFEDE9,
		'title-bg': #872E27,
	),
	'playground': (
		'intro-bg': #FCECDB,
		'title-bg': #8E3E28,
	),
	'stream': (
		'intro-bg': #DEF9F6,
		'title-bg': #0D7D7F,
	),
);


body {
	font-size: 2.3vmin;
}
@media (#{$viewport-small}) {
	body {
		font-size: 16px;
	}
}

.reveal[class*="pattern--"] {
	background-position: center center;
	background-size: 133vmax auto;
}

@each $pattern-name, $pattern-settings in $patterns {
	.reveal.pattern--#{$pattern-name} {
		background-image: url('../../lib/myplanet/patterns/#{$pattern-name}/pattern.svg');

		.slides section.intro {
			background-color: map-get($pattern-settings, 'intro-bg');

			.logo {
				background-image: url("../../lib/myplanet/patterns/#{$pattern-name}/logo.svg");
			}
		}
		.slides section.title {
			background-color: map-get($pattern-settings, 'title-bg');
		}
		.progress span {
			background: map-get($pattern-settings, 'title-bg');
		}

		/*********************************************
		 * NAVIGATION CONTROLS
		*********************************************/
		.controls .navigate-left,
		.controls .navigate-left.enabled {
			border-right-color: map-get($pattern-settings, 'title-bg');
		}
		.controls .navigate-right,
		.controls .navigate-right.enabled {
			border-left-color: map-get($pattern-settings, 'title-bg');
		}
		.controls .navigate-up,
		.controls .navigate-up.enabled {
			border-bottom-color: map-get($pattern-settings, 'title-bg');
		}
		.controls .navigate-down,
		.controls .navigate-down.enabled {
			border-top-color: map-get($pattern-settings, 'title-bg');
		}
		.controls .navigate-left.enabled:hover {
			border-right-color: lighten( map-get($pattern-settings, 'title-bg'), 15% );
		}
		.controls .navigate-right.enabled:hover {
			border-left-color: lighten( map-get($pattern-settings, 'title-bg'), 15% );
		}
		.controls .navigate-up.enabled:hover {
			border-bottom-color: lighten( map-get($pattern-settings, 'title-bg'), 15% );
		}
		.controls .navigate-down.enabled:hover {
			border-top-color: lighten( map-get($pattern-settings, 'title-bg'), 15% );
		}
	}
}

.grid-wrapper {
	display: grid;
}

.reveal .slides {
	text-align: left;
}
.reveal .slides > section.past,
.reveal .slides > section.future,
.reveal .slides > section > section.past,
.reveal .slides > section > section.future {
	opacity: 1;
}<commit_msg>Use local variables in pattern variant loop<commit_after>/**
 * Myplanet theme for reveal.js.
 */

// Default mixins and settings -----------------
@import "../template/mixins";
@import "../template/settings";
// ---------------------------------------------

// Include theme-specific fonts
@import url(../../lib/font/source-sans-pro/source-sans-pro.css);
@import url(../../lib/font/poppins/poppins.css);

// Override theme settings (see ../template/settings.scss)
$backgroundColor: #fff;

$mainColor: #222;
$headingColor: #222;

$mainFontSize: 1em;
$mainFont: 'Poppins', 'Source Sans Pro', Helvetica, sans-serif;
$headingFont: 'Poppins', 'Source Sans Pro', Helvetica, sans-serif;
$headingTextShadow: none;
$headingLetterSpacing: normal;
$headingTextTransform: none;
$headingFontWeight: 600;
$linkColor: #42affa;
$linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% );

$heading1Size: 2.5em;
$heading2Size: 1.6em;
$heading3Size: 1.3em;
$heading4Size: 1.0em;

section.has-light-background {
	&, h1, h2, h3, h4, h5, h6 {
		color: #222;
	}
}

// Theme template ------------------------------
@import "../template/theme";
// ---------------------------------------------

$viewport-tiny: "max-width: 568px";
$viewport-small: "max-width: 768px";
$viewport-wide: "min-width: 1280px";

$white: #FFFFFF;
$light-grey: #EEEDEF;
$grey: #66646B;
$radiant: #F25930;
$ice: #9292A8;
$midnight: #2A2A49;

$patterns: (
	'molecules': (
		'intro-bg': #FAFAFA,
		'title-bg': #872E27,
	),
	'night-sky': (
		'intro-bg': #DEF9F6,
		'title-bg': #0D7D7F,
	),
	'orange-river': (
		'intro-bg': #FFEDE9,
		'title-bg': #872E27,
	),
	'playground': (
		'intro-bg': #FCECDB,
		'title-bg': #8E3E28,
	),
	'stream': (
		'intro-bg': #DEF9F6,
		'title-bg': #0D7D7F,
	),
);


body {
	font-size: 2.3vmin;
}
@media (#{$viewport-small}) {
	body {
		font-size: 16px;
	}
}

.reveal[class*="pattern--"] {
	background-position: center center;
	background-size: 133vmax auto;
}

@each $pattern-name, $pattern-settings in $patterns {
	.reveal.pattern--#{$pattern-name} {
		$intro-bg: map-get($pattern-settings, 'intro-bg');
		$title-bg: map-get($pattern-settings, 'title-bg');

		background-image: url('../../lib/myplanet/patterns/#{$pattern-name}/pattern.svg');

		.slides section.intro {
			background-color: $intro-bg;

			.logo {
				background-image: url("../../lib/myplanet/patterns/#{$pattern-name}/logo.svg");
			}
		}
		.slides section.title {
			background-color: $title-bg;
		}
		.progress span {
			background: $title-bg;
		}

		/*********************************************
		 * NAVIGATION CONTROLS
		*********************************************/
		.controls .navigate-left,
		.controls .navigate-left.enabled {
			border-right-color: $title-bg;
		}
		.controls .navigate-right,
		.controls .navigate-right.enabled {
			border-left-color: $title-bg;
		}
		.controls .navigate-up,
		.controls .navigate-up.enabled {
			border-bottom-color: $title-bg;
		}
		.controls .navigate-down,
		.controls .navigate-down.enabled {
			border-top-color: $title-bg;
		}
		.controls .navigate-left.enabled:hover {
			border-right-color: lighten( $title-bg, 15% );
		}
		.controls .navigate-right.enabled:hover {
			border-left-color: lighten( $title-bg, 15% );
		}
		.controls .navigate-up.enabled:hover {
			border-bottom-color: lighten( $title-bg, 15% );
		}
		.controls .navigate-down.enabled:hover {
			border-top-color: lighten( $title-bg, 15% );
		}
	}
}

.grid-wrapper {
	display: grid;
}

.reveal .slides {
	text-align: left;
}
.reveal .slides > section.past,
.reveal .slides > section.future,
.reveal .slides > section > section.past,
.reveal .slides > section > section.future {
	opacity: 1;
}
{'fraction_non_alphanumeric': 0.24228435768926404, 'fraction_numerical': 0.028224742811922974, 'mean_word_length': 3.243424734191382, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5875242', 'n_tokens_mistral': 3154, 'n_tokens_neox': 2813, 'n_words': 511}