{"version":3,"sources":["../../../../src/nhsuk/core/generic/_font-face.scss"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,+BAA+B;AAC/B,4BAA4B;AAC5B,6BAA6B;AAC7B,gDAAgD;;AAEhD,GAAG;AACH,YAAY;AACZ,EAAE;AACF,uEAAuE;AACvE,qGAAqG;AACrG,6GAA6G;AAC7G,EAAE;AACF,iBAAiB;AACjB,GAAG;;AAEH;EACE;IACE;MACE,2BAA2B;MAC3B,kBAAkB;MAClB,sCAAsC;MACtC,sBAAsB;MACtB;;mEAE6D;IAC/D;;IAEA;MACE,2BAA2B;MAC3B,kBAAkB;MAClB,oCAAoC;MACpC,sBAAsB;MACtB;;kEAE4D;IAC9D;EACF;AACF;;AAEA,8BAA8B;AAC9B,EAAE;AACF,4EAA4E;AAC5E,2EAA2E;;AAE3E;EACE;IACE;MACE,iEAAiE;;MAEjE;QACE,2EAA2E;QAC3E,wBAAwB;MAC1B;IACF;EACF;AACF","file":"_font-face.scss","sourcesContent":["@use \"sass:math\";\n@use \"../settings/globals\" as *;\n@use \"../tools/exports\" as *;\n@use \"../tools/font-url\" as *;\n@forward \"../tools/font-url\" show nhsuk-font-url;\n\n////\n/// Font face\n///\n/// NHS uses the Frutiger font. To use the font you must have a licence.\n/// NHS England has a licence for the Frutiger webfont which all NHS organisations in England can use.\n/// NHS organisations can register here: https://service-manual.nhs.uk/design-system/styles/use-frutiger-font/\n///\n/// @group generic\n////\n\n@mixin nhsuk-font-face-frutiger {\n  @at-root {\n    @font-face {\n      font-family: \"Frutiger W01\";\n      font-style: normal;\n      font-weight: $nhsuk-font-weight-normal;\n      font-display: fallback;\n      src:\n        nhsuk-font-url(\"FrutigerLTW01-55Roman.woff2\") format(\"woff2\"),\n        nhsuk-font-url(\"FrutigerLTW01-55Roman.woff\") format(\"woff\");\n    }\n\n    @font-face {\n      font-family: \"Frutiger W01\";\n      font-style: normal;\n      font-weight: $nhsuk-font-weight-bold;\n      font-display: fallback;\n      src:\n        nhsuk-font-url(\"FrutigerLTW01-65Bold.woff2\") format(\"woff2\"),\n        nhsuk-font-url(\"FrutigerLTW01-65Bold.woff\") format(\"woff\");\n    }\n  }\n}\n\n/// Font 'Dynamic Type' support\n///\n/// On Apple devices, uses the -apple-system-body font to enable system-level\n/// Dynamic Type for accessibility but prevents the system body font-family.\n\n@mixin nhsuk-font-dynamic-type {\n  @at-root {\n    html {\n      font-size: math.percentage(math.div($nhsuk-root-font-size, 16px));\n\n      @supports (font: -apple-system-body) and (-webkit-touch-callout: default) {\n        // stylelint-disable-next-line font-family-no-missing-generic-family-keyword\n        font: -apple-system-body;\n      }\n    }\n  }\n}\n"]}
