Sha256: 3e20e19cd46861cbb3bc81372b798d4c140fb2765fdf9fd7e6983fb40b1166b4
Contents?: true
Size: 800 Bytes
Versions: 88
Compression:
Stored size: 800 Bytes
Contents
//// /// @group tools/assets //// /// Image URL /// /// If a custom image-url handler is defined ($govuk-image-url-function) then /// it will be called, otherwise a url will be returned with the filename /// appended to the image path. /// /// @param {String} Filename for the image to load /// @return {String} URL for the filename, wrapped in `url()` /// @access public @function govuk-image-url($filename) { // prettier-ignore $use-custom-function: variable-exists("govuk-image-url-function") and $govuk-image-url-function and function-exists($govuk-image-url-function); @if $use-custom-function { @return call(get-function($govuk-image-url-function), $filename); } @else { @return url($govuk-images-path + $filename); } } /*# sourceMappingURL=_image-url.scss.map */
Version data entries
88 entries across 86 versions & 4 rubygems