Sha256: f9c947c964ac310ad1a47e8e2fccaf36bfef8c38877cd3c0dc6fcc2574d8cb36

Contents?: true

Size: 617 Bytes

Versions: 24

Compression:

Stored size: 617 Bytes

Contents

// Get single value from key in instance map based on $selector::$key
// -------------------------------------------------------------------------------
// @dependence `map-fetch()`
// -------------------------------------------------------------------------------
// @param $key [Value] : breakpoint key
// @param $value [Value] : fetch value
// -------------------------------------------------------------------------------
// @return [Value]

@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

24 entries across 24 versions & 1 rubygems

Version Path
flint-gs-1.3.5 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.3.4 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.3.3 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.3.2 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.3.1 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.3.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.2.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.1.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.9 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.8 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.7 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.6 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.5 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.4 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.3 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.2 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.1 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-1.0.0 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-0.1.7 stylesheets/flint/functions/lib/_get-value.scss
flint-gs-0.1.6 stylesheets/flint/functions/lib/_get-value.scss