Sha256: 565d4e6ab01085fc6d5bb69b095c3f7da5b9f8b12b369da6c3bbb85d38efa003
Contents?: true
Size: 1.07 KB
Versions: 25
Compression:
Stored size: 1.07 KB
Contents
{"version":3,"sources":["../../../src/govuk/tools/_font-url.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,sBAAsB;AACtB,GAAG;;AAEH,WAAW;AACX,EAAE;AACF,0EAA0E;AAC1E,wEAAwE;AACxE,6BAA6B;AAC7B,EAAE;AACF,4CAA4C;AAC5C,4DAA4D;AAC5D,iBAAiB;;AAEjB;EACE;;iDAE+C;;EAE/C;IACE,+DAA+D;EACjE,EAAE;IACA,0CAA0C;EAC5C;AACF","file":"_font-url.scss","sourcesContent":["////\n/// @group tools/assets\n////\n\n/// Font URL\n///\n/// If a custom font-url handler is defined ($govuk-font-url-function) then\n/// it will be called, otherwise a url will be returned with the filename\n/// appended to the font path.\n///\n/// @param {String} $filename - Font filename\n/// @return {String} URL for the filename, wrapped in `url()`\n/// @access public\n\n@function govuk-font-url($filename) {\n $use-custom-function: variable-exists(\"govuk-font-url-function\")\n and $govuk-font-url-function\n and function-exists($govuk-font-url-function);\n\n @if $use-custom-function {\n @return call(get-function($govuk-font-url-function), $filename);\n } @else {\n @return url($govuk-fonts-path + $filename);\n }\n}\n"]}
Version data entries
25 entries across 25 versions & 1 rubygems