Sha256: b732f9bc25e1c8589fc3aff9245bf786277c4136f3ac40b68544af5bbd126f78

Contents?: true

Size: 627 Bytes

Versions: 4

Compression:

Stored size: 627 Bytes

Contents

// Get single value from key in instance map based on $selector::$key
// -------------------------------------------------------------------------------
// @dependence `map-fetch()`
// -------------------------------------------------------------------------------
// @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

4 entries across 4 versions & 1 rubygems

Version Path
flint-gs-1.6.2 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.6.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.5.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.4.0 stylesheets/flint/functions/lib/_get-value.scss