// Get single value from key in instance map based on $selector::$key // ------------------------------------------------------------------------------- // @warning : all values returned are strings and must be converted with `flint-to-number()` // ------------------------------------------------------------------------------- // @param $key [string] : key // @param $value [number] : value // @param $deep [number] : fetch deep value // ------------------------------------------------------------------------------- // @return [string] @function flint-get-instance-value($key, $value, $deep: null) { @if $deep == null { @return flint-map-fetch($flint__instances, flint-has-family-instance($key) $value); } @else { @return flint-map-fetch($flint__instances, flint-has-family-instance($key) $value $deep); } }