Skip to content

Commit

Permalink
Tweak font-faces file to appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanita Barrett committed Aug 21, 2020
1 parent 8448ac5 commit cda0c4e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/govuk/helpers/_font-faces.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
////

// Disables linting for this file only
// sass-lint:disable no-css-comments, no-duplicate-properties, property-sort-order, indentation
// stylelint-disable scss/comment-no-loud, order/properties-order

@import "../tools/exports";

Expand All @@ -19,25 +17,25 @@
@include govuk-not-ie8 { // In IE8, which cannot render WOFF format, we fall back to system fonts
@include govuk-exports("govuk/helpers/font-faces") {
@at-root {
/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */
//! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available.

@font-face {
font-family: "GDS Transport";
font-style: normal;
font-weight: normal;
src:
govuk-font-url("light-94a07e06a1-v2.woff2") format("woff2"),
govuk-font-url("light-f591b13f7d-v2.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: fallback;
}

@font-face {
font-family: "GDS Transport";
font-style: normal;
font-weight: bold;
src:
govuk-font-url("bold-b542beb274-v2.woff2") format("woff2"),
govuk-font-url("bold-affa96571d-v2.woff") format("woff");
font-weight: bold;
font-style: normal;
font-display: fallback;
}
}
Expand Down

0 comments on commit cda0c4e

Please sign in to comment.