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

Commit

Permalink
Merge pull request #5840 from matrix-org/gsouquet-update-inter-font
Browse files Browse the repository at this point in the history
Update Inter font to v3.18
  • Loading branch information
germain-gg authored Apr 12, 2021
2 parents 14f1e9f + 020cdc9 commit 853b218
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 16 deletions.
Binary file modified res/fonts/Inter/Inter-Bold.woff
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-Bold.woff2
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-BoldItalic.woff
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-BoldItalic.woff2
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-Italic.woff
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-Italic.woff2
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-Medium.woff
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-Medium.woff2
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-MediumItalic.woff
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-MediumItalic.woff2
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-Regular.woff
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-Regular.woff2
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-SemiBold.woff
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-SemiBold.woff2
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-SemiBoldItalic.woff
Binary file not shown.
Binary file modified res/fonts/Inter/Inter-SemiBoldItalic.woff2
Binary file not shown.
32 changes: 16 additions & 16 deletions res/themes/light/css/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ $inter-unicode-range: U+0000-20e2,U+20e4-23ce,U+23d0-24c1,U+24c3-259f,U+25c2-266
font-weight: 400;
font-display: swap;
unicode-range: $inter-unicode-range;
src: url("$(res)/fonts/Inter/Inter-Regular.woff2?v=3.13") format("woff2"),
url("$(res)/fonts/Inter/Inter-Regular.woff?v=3.13") format("woff");
src: url("$(res)/fonts/Inter/Inter-Regular.woff2?v=3.18") format("woff2"),
url("$(res)/fonts/Inter/Inter-Regular.woff?v=3.18") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 400;
font-display: swap;
unicode-range: $inter-unicode-range;
src: url("$(res)/fonts/Inter/Inter-Italic.woff2?v=3.13") format("woff2"),
url("$(res)/fonts/Inter/Inter-Italic.woff?v=3.13") format("woff");
src: url("$(res)/fonts/Inter/Inter-Italic.woff2?v=3.18") format("woff2"),
url("$(res)/fonts/Inter/Inter-Italic.woff?v=3.18") format("woff");
}

@font-face {
Expand All @@ -34,17 +34,17 @@ $inter-unicode-range: U+0000-20e2,U+20e4-23ce,U+23d0-24c1,U+24c3-259f,U+25c2-266
font-weight: 500;
font-display: swap;
unicode-range: $inter-unicode-range;
src: url("$(res)/fonts/Inter/Inter-Medium.woff2?v=3.13") format("woff2"),
url("$(res)/fonts/Inter/Inter-Medium.woff?v=3.13") format("woff");
src: url("$(res)/fonts/Inter/Inter-Medium.woff2?v=3.18") format("woff2"),
url("$(res)/fonts/Inter/Inter-Medium.woff?v=3.18") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 500;
font-display: swap;
unicode-range: $inter-unicode-range;
src: url("$(res)/fonts/Inter/Inter-MediumItalic.woff2?v=3.13") format("woff2"),
url("$(res)/fonts/Inter/Inter-MediumItalic.woff?v=3.13") format("woff");
src: url("$(res)/fonts/Inter/Inter-MediumItalic.woff2?v=3.18") format("woff2"),
url("$(res)/fonts/Inter/Inter-MediumItalic.woff?v=3.18") format("woff");
}

@font-face {
Expand All @@ -53,17 +53,17 @@ $inter-unicode-range: U+0000-20e2,U+20e4-23ce,U+23d0-24c1,U+24c3-259f,U+25c2-266
font-weight: 600;
font-display: swap;
unicode-range: $inter-unicode-range;
src: url("$(res)/fonts/Inter/Inter-SemiBold.woff2?v=3.13") format("woff2"),
url("$(res)/fonts/Inter/Inter-SemiBold.woff?v=3.13") format("woff");
src: url("$(res)/fonts/Inter/Inter-SemiBold.woff2?v=3.18") format("woff2"),
url("$(res)/fonts/Inter/Inter-SemiBold.woff?v=3.18") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 600;
font-display: swap;
unicode-range: $inter-unicode-range;
src: url("$(res)/fonts/Inter/Inter-SemiBoldItalic.woff2?v=3.13") format("woff2"),
url("$(res)/fonts/Inter/Inter-SemiBoldItalic.woff?v=3.13") format("woff");
src: url("$(res)/fonts/Inter/Inter-SemiBoldItalic.woff2?v=3.18") format("woff2"),
url("$(res)/fonts/Inter/Inter-SemiBoldItalic.woff?v=3.18") format("woff");
}

@font-face {
Expand All @@ -72,17 +72,17 @@ $inter-unicode-range: U+0000-20e2,U+20e4-23ce,U+23d0-24c1,U+24c3-259f,U+25c2-266
font-weight: 700;
font-display: swap;
unicode-range: $inter-unicode-range;
src: url("$(res)/fonts/Inter/Inter-Bold.woff2?v=3.13") format("woff2"),
url("$(res)/fonts/Inter/Inter-Bold.woff?v=3.13") format("woff");
src: url("$(res)/fonts/Inter/Inter-Bold.woff2?v=3.18") format("woff2"),
url("$(res)/fonts/Inter/Inter-Bold.woff?v=3.18") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 700;
font-display: swap;
unicode-range: $inter-unicode-range;
src: url("$(res)/fonts/Inter/Inter-BoldItalic.woff2?v=3.13") format("woff2"),
url("$(res)/fonts/Inter/Inter-BoldItalic.woff?v=3.13") format("woff");
src: url("$(res)/fonts/Inter/Inter-BoldItalic.woff2?v=3.18") format("woff2"),
url("$(res)/fonts/Inter/Inter-BoldItalic.woff?v=3.18") format("woff");
}

/* latin-ext */
Expand Down

0 comments on commit 853b218

Please sign in to comment.