Sha256: 8431491859316c86f8f36d57a76ce51948f48c3d5d6909d7d04b09a737c3d6f0
Contents?: true
Size: 762 Bytes
Versions: 25
Compression:
Stored size: 762 Bytes
Contents
//// /// @group tools/assets //// /// Font URL /// /// If a custom font-url handler is defined ($govuk-font-url-function) then /// it will be called, otherwise a url will be returned with the filename /// appended to the font path. /// /// @param {String} $filename - Font filename /// @return {String} URL for the filename, wrapped in `url()` /// @access public @function govuk-font-url($filename) { $use-custom-function: variable-exists("govuk-font-url-function") and $govuk-font-url-function and function-exists($govuk-font-url-function); @if $use-custom-function { @return call(get-function($govuk-font-url-function), $filename); } @else { @return url($govuk-fonts-path + $filename); } } /*# sourceMappingURL=_font-url.scss.map */
Version data entries
25 entries across 25 versions & 1 rubygems