Sha256: 15103ce5caaf0a308757277d2033ae4689c903bff864bf1e1056acd33441a790

Contents?: true

Size: 533 Bytes

Versions: 5

Compression:

Stored size: 533 Bytes

Contents

// Get single value from key in instance map based on $selector::$key
// -------------------------------------------------------------------------------
// @param $key [string] : breakpoint key
// @param $value [string] : key of value
// -------------------------------------------------------------------------------
// @return [literal]

@function flint-get-value($key, $value: null) {
	@if $value == null {
		@return flint-map-fetch($flint, "config" $key);
	} @else {
		@return flint-map-fetch($flint, "config" $key $value);
	}
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flint-gs-1.10.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.9.1 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.8.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.7.2 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.7.0 stylesheets/flint/functions/lib/_get-value.scss