Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Use Inter
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed Feb 4, 2024
1 parent a0db86b commit 8a8ab0f
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 68 deletions.
Binary file added public/fonts/InterVariable-Italic.woff2
Binary file not shown.
Binary file added public/fonts/InterVariable.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/fonts/source-code-pro-v22-latin-regular.woff2
Binary file not shown.
80 changes: 12 additions & 68 deletions src/style/global.css
Original file line number Diff line number Diff line change
@@ -1,74 +1,23 @@
/* red-hat-display-700 - latin-ext_latin */
@font-face {
font-display: swap;
font-family: "Red Hat Display";
font-style: normal;
font-weight: 700;
src: url("/fonts/red-hat-display-v14-latin-ext_latin-700.woff2") format("woff2");
}
/* noto-sans-display-700 - cyrillic-ext_cyrillic */
@font-face {
font-display: swap;
font-family: "Noto Sans Display";
font-style: normal;
font-weight: 700;
src: url("/fonts/noto-sans-display-v20-cyrillic-ext_cyrillic-700.woff2") format("woff2");
}
/* red-hat-text-regular - latin-ext_latin */
@font-face {
font-display: swap;
font-family: "Red Hat Text";
font-style: normal;
font-weight: 400;
src: url("/fonts/red-hat-text-v13-latin-ext_latin-regular.woff2") format("woff2");
}
/* red-hat-text-italic - latin-ext_latin */
@font-face {
font-display: swap;
font-family: "Red Hat Text";
font-style: italic;
font-weight: 400;
src: url("/fonts/red-hat-text-v13-latin-ext_latin-italic.woff2") format("woff2");
}
/* red-hat-text-600 - latin-ext_latin */
@font-face {
font-display: swap;
font-family: "Red Hat Text";
font-family: InterVariable;
font-style: normal;
font-weight: 600;
src: url("/fonts/red-hat-text-v13-latin-ext_latin-600.woff2") format("woff2");
}
/* noto-sans-regular - cyrillic-ext_cyrillic */
@font-face {
font-weight: 100 900;
font-display: swap;
font-family: "Noto Sans";
font-style: normal;
font-weight: 400;
src: url("/fonts/noto-sans-v27-cyrillic-ext_cyrillic-regular.woff2") format("woff2");
src: url("/fonts/InterVariable.woff2") format("woff2");
}
/* noto-sans-italic - cyrillic-ext_cyrillic */
@font-face {
font-display: swap;
font-family: "Noto Sans";
font-family: InterVariable;
font-style: italic;
font-weight: 400;
src: url("/fonts/noto-sans-v27-cyrillic-ext_cyrillic-italic.woff2") format("woff2");
}
/* noto-sans-600 - cyrillic-ext_cyrillic */
@font-face {
font-weight: 100 900;
font-display: swap;
font-family: "Noto Sans";
font-style: normal;
font-weight: 600;
src: url("/fonts/noto-sans-v27-cyrillic-ext_cyrillic-600.woff2") format("woff2");
src: url("/fonts/InterVariable-Italic.woff2") format("woff2");
}
/* source-code-pro-regular - latin */
@font-face {
font-display: swap;
font-family: "Source Code Pro";
font-style: normal;
font-weight: 400;
src: url("/fonts/source-code-pro-v22-latin-regular.woff2") format("woff2");
src: url("/fonts/source-code-pro-v22-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2") format("woff2");
}

:root {
Expand All @@ -92,19 +41,14 @@
}

html {
font-family: "Red Hat Text", "Noto Sans", system-ui, sans-serif;
font-family: InterVariable, "Inter var", "Inter", ui-sans-serif, system-ui,
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji", Oxygen, Ubuntu, Cantarell,
"Fira Sans", "Droid Sans", sans-serif;
background-color: #f6f6f6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Red Hat Display", "Noto Sans Display", system-ui, sans-serif;
}

pre,
code {
font-family:
Expand Down

0 comments on commit 8a8ab0f

Please sign in to comment.