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

Version Path
govuk_publishing_components-39.2.5 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-39.2.4 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-39.2.3 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-39.2.2 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-39.2.1 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-39.2.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-39.1.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-39.0.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-38.4.2 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-38.1.1 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-38.1.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-38.0.1 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-38.0.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-37.10.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-37.9.1 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-37.9.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-37.8.1 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-37.8.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-37.7.1 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map
govuk_publishing_components-37.7.0 node_modules/govuk-frontend/govuk/tools/_font-url.scss.map