Skip to content

Commit

Permalink
Remove local() font definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Oct 18, 2023
1 parent 11391e5 commit 8f48d26
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/nationalarchives/utilities/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,23 @@

@font-face {
font-family: "Open Sans";
src:
local("Open Sans"),
url("#{assets.$tna-font-path}/OpenSans-Medium.ttf") format("ttf");
src: url("#{assets.$tna-font-path}/OpenSans-Medium.ttf") format("ttf");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Open Sans";
src:
local("Open Sans"),
url("#{assets.$tna-font-path}/OpenSans-Bold.ttf") format("ttf");
src: url("#{assets.$tna-font-path}/OpenSans-Bold.ttf") format("ttf");
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Roboto Mono";
src:
local("Roboto Mono"),
url("#{assets.$tna-font-path}/RobotoMono-Regular.ttf") format("ttf");
src: url("#{assets.$tna-font-path}/RobotoMono-Regular.ttf") format("ttf");
font-weight: normal;
font-style: normal;
font-display: swap;
Expand Down

0 comments on commit 8f48d26

Please sign in to comment.