Sha256: d7554c40affccae4d169f55e13cb0fc924e1cbcedc06311279c2fe674280a172

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 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

1 entries across 1 versions & 1 rubygems

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