@function latoGetWeightForVariant($variant, $variants: $lato-variants) {
	@return map-get($variants, $variant);
}

@function latoGetFontNameForVariant($variant, $font-name: $lato-font-name) {

	// Exception for Medium variant.
	@if 'medium' == $variant {
		$font-name: 'Lato Medium';
	}

	@return $font-name;
}