Sha256: 5f4cfbda8ad301be054524ecb7bbd30fd7de65bec01f758b7f84e2bb719cf767

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flint-gs-1.12.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.11.2 stylesheets/flint/functions/lib/_get-value.scss