Sha256: fa47e17eaed91cb36f56631a715df185d302a9fce1cf2df85b9604dd81e50008

Contents?: true

Size: 1.11 KB

Versions: 48

Compression:

Stored size: 1.11 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,iBAAiB;EACjB;;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  // prettier-ignore\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

48 entries across 48 versions & 2 rubygems

Version Path
govuk_publishing_components-45.9.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.8.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.7.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.6.1 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.6.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.5.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.4.1 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.4.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.3.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.2.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.1.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-45.0.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-44.11.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-44.10.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-44.9.1 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-44.9.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-44.8.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-44.7.1 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-44.7.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map
govuk_publishing_components-44.6.0 node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map