Sha256: df398e73153d0bd8e0f09335a464c511d952ca17a6dbe23ccdfe250cf2ecb684

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

// Gets the index of the passed key
// -------------------------------------------------------------------------------
// @param $key [string] : breakpoint key
// -------------------------------------------------------------------------------
// @return [number]

@function get-index($key) {
  	@for $i from 1 through (length(map-fetch($flint, "config")) - 1) {
		@if steal-key($i) == $key {
			@return $i;
		}
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flint-gs-1.6.5 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.6.4 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.6.3 stylesheets/flint/functions/lib/_get-index.scss