Sha256: a40ac896c327470e7a59ff4424b73113647ebf449bd1648ac2fc76d414c2edf3

Contents?: true

Size: 667 Bytes

Versions: 4

Compression:

Stored size: 667 Bytes

Contents

// Steal value based on index number
// -------------------------------------------------------------------------------
// @dependence `map-fetch()`
// @dependence `get-value()`
// -------------------------------------------------------------------------------
// @param $index [number] : index of breakpoint key in config
// @param $value [number] : value
// -------------------------------------------------------------------------------
// @return [number]

@function steal-values($index, $value) {
	@for $n from 1 through (length(map-fetch($flint, config)) - 1) {
		@each $key in nth(map-get($flint, config), $index) {
			@return get-value($key, $value);
		}
	}
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flint-gs-1.6.2 stylesheets/flint/functions/lib/_steal-values.scss
flint-gs-1.6.0 stylesheets/flint/functions/lib/_steal-values.scss
flint-gs-1.5.0 stylesheets/flint/functions/lib/_steal-values.scss
flint-gs-1.4.0 stylesheets/flint/functions/lib/_steal-values.scss