Sha256: c79861e43a623ba3f63f793f6e37401d8986443aa34d2ef303c0b0d90d65f816

Contents?: true

Size: 515 Bytes

Versions: 3

Compression:

Stored size: 515 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 get-value($key, $value: null) {
	@if $value == null {
		@return map-fetch($flint, "config" $key);
	} @else {
		@return map-fetch($flint, "config" $key $value);
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flint-gs-1.6.5 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.6.4 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.6.3 stylesheets/flint/functions/lib/_get-value.scss