Skip to content

Commit

Permalink
feat(frontend): remove web font
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Apr 7, 2024
1 parent 6d8c8ea commit 6da525a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 12 deletions.
Binary file removed packages/frontend/assets/mona-sans.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion packages/frontend/layouts/default.njk
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
</style>

<link rel="stylesheet" href="{{ application.cssPath }}">
<link rel="preload" href="{{ application.url }}{{ assetPath | default("/assets") }}/mona-sans.woff2" as="font" type="font/woff2" crossorigin>
<link rel="alternate" href="{{ application.url }}/feed.jf2" type="application/jf2feed+json" title="JF2 Feed">
<link rel="apple-touch-icon" href="{{ application.url }}{{ assetPath | default("/assets") }}/app-icon-180.png">
<link rel="icon" href="{{ application.url }}{{ assetPath | default("/assets") }}/icon.svg">
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/styles/app.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Config */
@import url("./config/custom-properties.css");
@import url("./config/font-face.css");
/* @import url("./config/font-face.css"); */

/* Base */
@import url("./base/embedded.css");
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/styles/config/custom-properties.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ html {

/* Typography */
--font-family-system: system-ui;
--font-family-sans: mona-sans, sans-serif;
--font-family-sans: system-ui, sans-serif;
--font-family-monospace: ui-monospace, sfmono-regular, sf mono, menlo,
consolas, liberation mono, monospace;

Expand Down
9 changes: 0 additions & 9 deletions packages/frontend/styles/config/font-face.css

This file was deleted.

0 comments on commit 6da525a

Please sign in to comment.