Sha256: ab9a5c1ad32485523b2e05d55735c30c122e20af1479c0f131285379e3e78495
Contents?: true
Size: 778 Bytes
Versions: 25
Compression:
Stored size: 778 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) { $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
25 entries across 25 versions & 1 rubygems