Skip to content

Commit

Permalink
remove duplicate fonts and update font-faces (#5839)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlagn authored and jharrell committed Apr 10, 2024
1 parent bfadbbf commit f92c575
Show file tree
Hide file tree
Showing 16 changed files with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions src/css/all.css
Original file line number Diff line number Diff line change
Expand Up @@ -1044,8 +1044,7 @@
font-style: normal;
font-weight: 300;
font-display: block;
src: url('/fonts/fa-light-300.woff2') format('woff2'),
url('/fonts/fa-light-300.woff2') format('woff2');
src: url('/fonts/fa-light-300.woff2') format('woff2');
}

.fal,
Expand All @@ -1069,8 +1068,7 @@
font-style: normal;
font-weight: 400;
font-display: block;
src: url('/fonts/fa-regular-400.woff2') format('woff2'),
url('/fonts/fa-regular-400.woff2') format('woff2');
src: url('/fonts/fa-regular-400.woff2') format('woff2');
}

.far,
Expand All @@ -1084,71 +1082,63 @@

@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-MediumItalic.woff2') format('woff2'),
url('/fonts/Inter-MediumItalic.woff') format('woff');
src: url('/fonts/Inter-MediumItalic.woff2') format('woff2');
font-weight: 500;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Medium.woff2') format('woff2'),
url('/fonts/Inter-Medium.woff') format('woff');
src: url('/fonts/Inter-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Bold.woff2') format('woff2'),
url('/fonts/Inter-Bold.woff') format('woff');
src: url('/fonts/Inter-Bold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Regular.woff2') format('woff2'),
url('/fonts/Inter-Regular.woff') format('woff');
src: url('/fonts/Inter-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Italic.woff2') format('woff2'),
url('/fonts/Inter-Italic.woff') format('woff');
src: url('/fonts/Inter-Italic.woff2') format('woff2');
font-weight: normal;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-BoldItalic.woff2') format('woff2'),
url('/fonts/Inter-BoldItalic.woff') format('woff');
src: url('/fonts/Inter-BoldItalic.woff2') format('woff2');
font-weight: bold;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: 'Inter Semi';
src: url('/fonts/Inter-SemiBoldItalic.woff2') format('woff2'),
url('/fonts/Inter-SemiBoldItalic.woff') format('woff');
src: url('/fonts/Inter-SemiBoldItalic.woff2') format('woff2');
font-weight: 600;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: 'Inter Semi';
src: url('/fonts/Inter-SemiBold.woff2') format('woff2'),
url('/fonts/Inter-SemiBold.woff') format('woff');
src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
font-weight: 600;
font-style: normal;
font-display: swap;
Expand All @@ -1157,17 +1147,15 @@

@font-face {
font-family: 'Barlow';
src: url('/fonts/Barlow-Regular.woff2') format('woff2'),
url('/fonts/Barlow-Regular.woff') format('woff');
src: url('/fonts/Barlow-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Barlow';
src: url('/fonts/Barlow-Bold.woff2') format('woff2'),
url('/fonts/Barlow-Bold.woff') format('woff');
src: url('/fonts/Barlow-Bold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
font-display: swap;
Expand Down
Binary file removed static/fonts/Barlow-Bold.woff
Binary file not shown.
Binary file removed static/fonts/Barlow-Regular.woff
Binary file not shown.
Binary file removed static/fonts/Inter-Bold.woff
Binary file not shown.
Binary file removed static/fonts/Inter-BoldItalic.woff
Binary file not shown.
Binary file removed static/fonts/Inter-Italic.woff
Binary file not shown.
Binary file removed static/fonts/Inter-Medium.woff
Binary file not shown.
Binary file removed static/fonts/Inter-MediumItalic.woff
Binary file not shown.
Binary file removed static/fonts/Inter-Regular.woff
Binary file not shown.
Binary file removed static/fonts/Inter-SemiBold.woff
Binary file not shown.
Binary file removed static/fonts/Inter-SemiBoldItalic.woff
Binary file not shown.
Binary file modified static/fonts/JetBrainsMono-Regular.woff2
Binary file not shown.
Binary file modified static/fonts/fa-brands-400.woff2
Binary file not shown.
Binary file modified static/fonts/fa-light-300.woff2
Binary file not shown.
Binary file modified static/fonts/fa-regular-400.woff2
Binary file not shown.
Binary file modified static/fonts/fa-solid-900.woff2
Binary file not shown.

0 comments on commit f92c575

Please sign in to comment.