Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/upgrade inter to version 4 (#2746)

Thomas Kaul8677d20c2cd0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 177c415da4..d75dc04d9c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Upgraded to _Inter_ 4 font family
- Improved the language localization for Türkçe (`tr`)
### Fixed
diff --git a/apps/client/src/assets/fonts/Inter-Black.woff b/apps/client/src/assets/fonts/Inter-Black.woff
deleted file mode 100644
index a18593a096..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-Black.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-Black.woff2 b/apps/client/src/assets/fonts/Inter-Black.woff2
index 68f64c9ed9..18b35db75c 100644
Binary files a/apps/client/src/assets/fonts/Inter-Black.woff2 and b/apps/client/src/assets/fonts/Inter-Black.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-BlackItalic.woff b/apps/client/src/assets/fonts/Inter-BlackItalic.woff
deleted file mode 100644
index b6b01943d9..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-BlackItalic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-BlackItalic.woff2 b/apps/client/src/assets/fonts/Inter-BlackItalic.woff2
index 1c9c7ca8b0..02c9d8ecc2 100644
Binary files a/apps/client/src/assets/fonts/Inter-BlackItalic.woff2 and b/apps/client/src/assets/fonts/Inter-BlackItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-Bold.woff b/apps/client/src/assets/fonts/Inter-Bold.woff
deleted file mode 100644
index eaf3d4bfd7..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-Bold.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-Bold.woff2 b/apps/client/src/assets/fonts/Inter-Bold.woff2
index 2846f29cc8..0f1b157633 100644
Binary files a/apps/client/src/assets/fonts/Inter-Bold.woff2 and b/apps/client/src/assets/fonts/Inter-Bold.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-BoldItalic.woff b/apps/client/src/assets/fonts/Inter-BoldItalic.woff
deleted file mode 100644
index 3275076164..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-BoldItalic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-BoldItalic.woff2 b/apps/client/src/assets/fonts/Inter-BoldItalic.woff2
index 0b1fe8e125..bc50f24c87 100644
Binary files a/apps/client/src/assets/fonts/Inter-BoldItalic.woff2 and b/apps/client/src/assets/fonts/Inter-BoldItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-ExtraBold.woff b/apps/client/src/assets/fonts/Inter-ExtraBold.woff
deleted file mode 100644
index c2c17edead..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-ExtraBold.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-ExtraBold.woff2 b/apps/client/src/assets/fonts/Inter-ExtraBold.woff2
index c24c2bdc2f..b1133688a4 100644
Binary files a/apps/client/src/assets/fonts/Inter-ExtraBold.woff2 and b/apps/client/src/assets/fonts/Inter-ExtraBold.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-ExtraBoldItalic.woff b/apps/client/src/assets/fonts/Inter-ExtraBoldItalic.woff
deleted file mode 100644
index c42f70526c..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-ExtraBoldItalic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-ExtraBoldItalic.woff2 b/apps/client/src/assets/fonts/Inter-ExtraBoldItalic.woff2
index 4a81dc7982..a5b76ca8da 100644
Binary files a/apps/client/src/assets/fonts/Inter-ExtraBoldItalic.woff2 and b/apps/client/src/assets/fonts/Inter-ExtraBoldItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-ExtraLight.woff b/apps/client/src/assets/fonts/Inter-ExtraLight.woff
deleted file mode 100644
index d0de5f3973..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-ExtraLight.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-ExtraLight.woff2 b/apps/client/src/assets/fonts/Inter-ExtraLight.woff2
index f2ea706faf..1d77ae8d04 100644
Binary files a/apps/client/src/assets/fonts/Inter-ExtraLight.woff2 and b/apps/client/src/assets/fonts/Inter-ExtraLight.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-ExtraLightItalic.woff b/apps/client/src/assets/fonts/Inter-ExtraLightItalic.woff
deleted file mode 100644
index 81f1a28ef5..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-ExtraLightItalic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-ExtraLightItalic.woff2 b/apps/client/src/assets/fonts/Inter-ExtraLightItalic.woff2
index 9af717ba91..8c6849209d 100644
Binary files a/apps/client/src/assets/fonts/Inter-ExtraLightItalic.woff2 and b/apps/client/src/assets/fonts/Inter-ExtraLightItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-Italic.woff b/apps/client/src/assets/fonts/Inter-Italic.woff
deleted file mode 100644
index a806b38201..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-Italic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-Italic.woff2 b/apps/client/src/assets/fonts/Inter-Italic.woff2
index a619fc5486..4c24ce2815 100644
Binary files a/apps/client/src/assets/fonts/Inter-Italic.woff2 and b/apps/client/src/assets/fonts/Inter-Italic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-Light.woff b/apps/client/src/assets/fonts/Inter-Light.woff
deleted file mode 100644
index c496464d02..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-Light.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-Light.woff2 b/apps/client/src/assets/fonts/Inter-Light.woff2
index bc4be6658b..dbe61437a1 100644
Binary files a/apps/client/src/assets/fonts/Inter-Light.woff2 and b/apps/client/src/assets/fonts/Inter-Light.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-LightItalic.woff b/apps/client/src/assets/fonts/Inter-LightItalic.woff
deleted file mode 100644
index f84a9de35e..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-LightItalic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-LightItalic.woff2 b/apps/client/src/assets/fonts/Inter-LightItalic.woff2
index 842b2dfcb7..a40d042158 100644
Binary files a/apps/client/src/assets/fonts/Inter-LightItalic.woff2 and b/apps/client/src/assets/fonts/Inter-LightItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-Medium.woff b/apps/client/src/assets/fonts/Inter-Medium.woff
deleted file mode 100644
index d546843f28..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-Medium.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-Medium.woff2 b/apps/client/src/assets/fonts/Inter-Medium.woff2
index f92498a2ec..0fd2ee7370 100644
Binary files a/apps/client/src/assets/fonts/Inter-Medium.woff2 and b/apps/client/src/assets/fonts/Inter-Medium.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-MediumItalic.woff b/apps/client/src/assets/fonts/Inter-MediumItalic.woff
deleted file mode 100644
index 459a656889..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-MediumItalic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-MediumItalic.woff2 b/apps/client/src/assets/fonts/Inter-MediumItalic.woff2
index 0e3019f4ae..96767155d9 100644
Binary files a/apps/client/src/assets/fonts/Inter-MediumItalic.woff2 and b/apps/client/src/assets/fonts/Inter-MediumItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-Regular.woff b/apps/client/src/assets/fonts/Inter-Regular.woff
deleted file mode 100644
index 62d3a61871..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-Regular.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-Regular.woff2 b/apps/client/src/assets/fonts/Inter-Regular.woff2
index 6c2b6893d5..b8699af29b 100644
Binary files a/apps/client/src/assets/fonts/Inter-Regular.woff2 and b/apps/client/src/assets/fonts/Inter-Regular.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-SemiBold.woff b/apps/client/src/assets/fonts/Inter-SemiBold.woff
deleted file mode 100644
index a815f43a91..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-SemiBold.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-SemiBold.woff2 b/apps/client/src/assets/fonts/Inter-SemiBold.woff2
index 611e90c958..95c48b184e 100644
Binary files a/apps/client/src/assets/fonts/Inter-SemiBold.woff2 and b/apps/client/src/assets/fonts/Inter-SemiBold.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-SemiBoldItalic.woff b/apps/client/src/assets/fonts/Inter-SemiBoldItalic.woff
deleted file mode 100644
index 909e43a97d..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-SemiBoldItalic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-SemiBoldItalic.woff2 b/apps/client/src/assets/fonts/Inter-SemiBoldItalic.woff2
index 545685bd2c..ddfe19e839 100644
Binary files a/apps/client/src/assets/fonts/Inter-SemiBoldItalic.woff2 and b/apps/client/src/assets/fonts/Inter-SemiBoldItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-Thin.woff b/apps/client/src/assets/fonts/Inter-Thin.woff
deleted file mode 100644
index 62bc58cd14..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-Thin.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-Thin.woff2 b/apps/client/src/assets/fonts/Inter-Thin.woff2
index abbc3a5c96..07909608cd 100644
Binary files a/apps/client/src/assets/fonts/Inter-Thin.woff2 and b/apps/client/src/assets/fonts/Inter-Thin.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-ThinItalic.woff b/apps/client/src/assets/fonts/Inter-ThinItalic.woff
deleted file mode 100644
index 700a7f069b..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-ThinItalic.woff and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-ThinItalic.woff2 b/apps/client/src/assets/fonts/Inter-ThinItalic.woff2
index ab0b2002a3..a7bf213801 100644
Binary files a/apps/client/src/assets/fonts/Inter-ThinItalic.woff2 and b/apps/client/src/assets/fonts/Inter-ThinItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/Inter-italic.var.woff2 b/apps/client/src/assets/fonts/Inter-italic.var.woff2
deleted file mode 100644
index b826d5af84..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-italic.var.woff2 and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter-roman.var.woff2 b/apps/client/src/assets/fonts/Inter-roman.var.woff2
deleted file mode 100644
index 6a256a068f..0000000000
Binary files a/apps/client/src/assets/fonts/Inter-roman.var.woff2 and /dev/null differ
diff --git a/apps/client/src/assets/fonts/Inter.var.woff2 b/apps/client/src/assets/fonts/Inter.var.woff2
deleted file mode 100644
index 365eedc50c..0000000000
Binary files a/apps/client/src/assets/fonts/Inter.var.woff2 and /dev/null differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-Black.woff2 b/apps/client/src/assets/fonts/InterDisplay-Black.woff2
new file mode 100644
index 0000000000..8138123c13
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-Black.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-BlackItalic.woff2 b/apps/client/src/assets/fonts/InterDisplay-BlackItalic.woff2
new file mode 100644
index 0000000000..735ba21f99
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-BlackItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-Bold.woff2 b/apps/client/src/assets/fonts/InterDisplay-Bold.woff2
new file mode 100644
index 0000000000..11c67196e1
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-Bold.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-BoldItalic.woff2 b/apps/client/src/assets/fonts/InterDisplay-BoldItalic.woff2
new file mode 100644
index 0000000000..5b6a1fb006
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-BoldItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-ExtraBold.woff2 b/apps/client/src/assets/fonts/InterDisplay-ExtraBold.woff2
new file mode 100644
index 0000000000..9058e98613
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-ExtraBold.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-ExtraBoldItalic.woff2 b/apps/client/src/assets/fonts/InterDisplay-ExtraBoldItalic.woff2
new file mode 100644
index 0000000000..4cd61c0672
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-ExtraBoldItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-ExtraLight.woff2 b/apps/client/src/assets/fonts/InterDisplay-ExtraLight.woff2
new file mode 100644
index 0000000000..8621b29951
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-ExtraLight.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-ExtraLightItalic.woff2 b/apps/client/src/assets/fonts/InterDisplay-ExtraLightItalic.woff2
new file mode 100644
index 0000000000..689c8d9ca1
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-ExtraLightItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-Italic.woff2 b/apps/client/src/assets/fonts/InterDisplay-Italic.woff2
new file mode 100644
index 0000000000..11f20bc821
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-Italic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-Light.woff2 b/apps/client/src/assets/fonts/InterDisplay-Light.woff2
new file mode 100644
index 0000000000..446301c35e
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-Light.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-LightItalic.woff2 b/apps/client/src/assets/fonts/InterDisplay-LightItalic.woff2
new file mode 100644
index 0000000000..f688196103
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-LightItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-Medium.woff2 b/apps/client/src/assets/fonts/InterDisplay-Medium.woff2
new file mode 100644
index 0000000000..29160b2c5d
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-Medium.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-MediumItalic.woff2 b/apps/client/src/assets/fonts/InterDisplay-MediumItalic.woff2
new file mode 100644
index 0000000000..ef1bcbe3c7
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-MediumItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-Regular.woff2 b/apps/client/src/assets/fonts/InterDisplay-Regular.woff2
new file mode 100644
index 0000000000..a6c04f68ec
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-Regular.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-SemiBold.woff2 b/apps/client/src/assets/fonts/InterDisplay-SemiBold.woff2
new file mode 100644
index 0000000000..2b4db239b4
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-SemiBold.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-SemiBoldItalic.woff2 b/apps/client/src/assets/fonts/InterDisplay-SemiBoldItalic.woff2
new file mode 100644
index 0000000000..59091db311
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-SemiBoldItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-Thin.woff2 b/apps/client/src/assets/fonts/InterDisplay-Thin.woff2
new file mode 100644
index 0000000000..dc0b948607
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-Thin.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterDisplay-ThinItalic.woff2 b/apps/client/src/assets/fonts/InterDisplay-ThinItalic.woff2
new file mode 100644
index 0000000000..96439c0c08
Binary files /dev/null and b/apps/client/src/assets/fonts/InterDisplay-ThinItalic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterVariable-Italic.woff2 b/apps/client/src/assets/fonts/InterVariable-Italic.woff2
new file mode 100644
index 0000000000..f22ec25549
Binary files /dev/null and b/apps/client/src/assets/fonts/InterVariable-Italic.woff2 differ
diff --git a/apps/client/src/assets/fonts/InterVariable.woff2 b/apps/client/src/assets/fonts/InterVariable.woff2
new file mode 100644
index 0000000000..22a12b04e1
Binary files /dev/null and b/apps/client/src/assets/fonts/InterVariable.woff2 differ
diff --git a/apps/client/src/assets/fonts/inter.css b/apps/client/src/assets/fonts/inter.css
index 71afda98a5..32d9b3aef1 100644
--- a/apps/client/src/assets/fonts/inter.css
+++ b/apps/client/src/assets/fonts/inter.css
@@ -1,226 +1,273 @@
+/* Variable fonts usage:
+:root { font-family: "Inter", sans-serif; }
+@supports (font-variation-settings: normal) {
+ :root { font-family: "InterVariable", sans-serif; font-optical-sizing: auto; }
+} */
+@font-face {
+ font-family: InterVariable;
+ font-style: normal;
+ font-weight: 100 900;
+ font-display: swap;
+ src: url('InterVariable.woff2') format('woff2');
+}
+@font-face {
+ font-family: InterVariable;
+ font-style: italic;
+ font-weight: 100 900;
+ font-display: swap;
+ src: url('InterVariable-Italic.woff2') format('woff2');
+}
+
+/* static fonts */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 100;
font-display: swap;
- src:
- url('Inter-Thin.woff2?v=3.19') format('woff2'),
- url('Inter-Thin.woff?v=3.19') format('woff');
+ src: url('Inter-Thin.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 100;
font-display: swap;
- src:
- url('Inter-ThinItalic.woff2?v=3.19') format('woff2'),
- url('Inter-ThinItalic.woff?v=3.19') format('woff');
+ src: url('Inter-ThinItalic.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 200;
font-display: swap;
- src:
- url('Inter-ExtraLight.woff2?v=3.19') format('woff2'),
- url('Inter-ExtraLight.woff?v=3.19') format('woff');
+ src: url('Inter-ExtraLight.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 200;
font-display: swap;
- src:
- url('Inter-ExtraLightItalic.woff2?v=3.19') format('woff2'),
- url('Inter-ExtraLightItalic.woff?v=3.19') format('woff');
+ src: url('Inter-ExtraLightItalic.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 300;
font-display: swap;
- src:
- url('Inter-Light.woff2?v=3.19') format('woff2'),
- url('Inter-Light.woff?v=3.19') format('woff');
+ src: url('Inter-Light.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 300;
font-display: swap;
- src:
- url('Inter-LightItalic.woff2?v=3.19') format('woff2'),
- url('Inter-LightItalic.woff?v=3.19') format('woff');
+ src: url('Inter-LightItalic.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
- src:
- url('Inter-Regular.woff2?v=3.19') format('woff2'),
- url('Inter-Regular.woff?v=3.19') format('woff');
+ src: url('Inter-Regular.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 400;
font-display: swap;
- src:
- url('Inter-Italic.woff2?v=3.19') format('woff2'),
- url('Inter-Italic.woff?v=3.19') format('woff');
+ src: url('Inter-Italic.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
- src:
- url('Inter-Medium.woff2?v=3.19') format('woff2'),
- url('Inter-Medium.woff?v=3.19') format('woff');
+ src: url('Inter-Medium.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 500;
font-display: swap;
- src:
- url('Inter-MediumItalic.woff2?v=3.19') format('woff2'),
- url('Inter-MediumItalic.woff?v=3.19') format('woff');
+ src: url('Inter-MediumItalic.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
- src:
- url('Inter-SemiBold.woff2?v=3.19') format('woff2'),
- url('Inter-SemiBold.woff?v=3.19') format('woff');
+ src: url('Inter-SemiBold.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 600;
font-display: swap;
- src:
- url('Inter-SemiBoldItalic.woff2?v=3.19') format('woff2'),
- url('Inter-SemiBoldItalic.woff?v=3.19') format('woff');
+ src: url('Inter-SemiBoldItalic.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
- src:
- url('Inter-Bold.woff2?v=3.19') format('woff2'),
- url('Inter-Bold.woff?v=3.19') format('woff');
+ src: url('Inter-Bold.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 700;
font-display: swap;
- src:
- url('Inter-BoldItalic.woff2?v=3.19') format('woff2'),
- url('Inter-BoldItalic.woff?v=3.19') format('woff');
+ src: url('Inter-BoldItalic.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 800;
font-display: swap;
- src:
- url('Inter-ExtraBold.woff2?v=3.19') format('woff2'),
- url('Inter-ExtraBold.woff?v=3.19') format('woff');
+ src: url('Inter-ExtraBold.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 800;
font-display: swap;
- src:
- url('Inter-ExtraBoldItalic.woff2?v=3.19') format('woff2'),
- url('Inter-ExtraBoldItalic.woff?v=3.19') format('woff');
+ src: url('Inter-ExtraBoldItalic.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 900;
font-display: swap;
- src:
- url('Inter-Black.woff2?v=3.19') format('woff2'),
- url('Inter-Black.woff?v=3.19') format('woff');
+ src: url('Inter-Black.woff2') format('woff2');
}
-
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 900;
font-display: swap;
- src:
- url('Inter-BlackItalic.woff2?v=3.19') format('woff2'),
- url('Inter-BlackItalic.woff?v=3.19') format('woff');
+ src: url('Inter-BlackItalic.woff2') format('woff2');
}
-
-/* -------------------------------------------------------
-Variable font.
-Usage:
-
- html { font-family: 'Inter', sans-serif; }
- @supports (font-variation-settings: normal) {
- html { font-family: 'Inter var', sans-serif; }
- }
-*/
@font-face {
- font-family: 'Inter var';
- font-weight: 100 900;
+ font-family: 'InterDisplay';
+ font-style: normal;
+ font-weight: 100;
+ font-display: swap;
+ src: url('InterDisplay-Thin.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: italic;
+ font-weight: 100;
font-display: swap;
+ src: url('InterDisplay-ThinItalic.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
font-style: normal;
- font-named-instance: 'Regular';
- src: url('Inter-roman.var.woff2?v=3.19') format('woff2');
+ font-weight: 200;
+ font-display: swap;
+ src: url('InterDisplay-ExtraLight.woff2') format('woff2');
}
@font-face {
- font-family: 'Inter var';
- font-weight: 100 900;
+ font-family: 'InterDisplay';
+ font-style: italic;
+ font-weight: 200;
font-display: swap;
+ src: url('InterDisplay-ExtraLightItalic.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: normal;
+ font-weight: 300;
+ font-display: swap;
+ src: url('InterDisplay-Light.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
font-style: italic;
- font-named-instance: 'Italic';
- src: url('Inter-italic.var.woff2?v=3.19') format('woff2');
+ font-weight: 300;
+ font-display: swap;
+ src: url('InterDisplay-LightItalic.woff2') format('woff2');
}
-
-/* --------------------------------------------------------------------------
-[EXPERIMENTAL] Multi-axis, single variable font.
-
-Slant axis is not yet widely supported (as of February 2019) and thus this
-multi-axis single variable font is opt-in rather than the default.
-
-When using this, you will probably need to set font-variation-settings
-explicitly, e.g.
-
- * { font-variation-settings: "slnt" 0deg }
- .italic { font-variation-settings: "slnt" 10deg }
-
-*/
@font-face {
- font-family: 'Inter var experimental';
- font-weight: 100 900;
+ font-family: 'InterDisplay';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url('InterDisplay-Regular.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: italic;
+ font-weight: 400;
+ font-display: swap;
+ src: url('InterDisplay-Italic.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: normal;
+ font-weight: 500;
+ font-display: swap;
+ src: url('InterDisplay-Medium.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: italic;
+ font-weight: 500;
+ font-display: swap;
+ src: url('InterDisplay-MediumItalic.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: normal;
+ font-weight: 600;
+ font-display: swap;
+ src: url('InterDisplay-SemiBold.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: italic;
+ font-weight: 600;
+ font-display: swap;
+ src: url('InterDisplay-SemiBoldItalic.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: url('InterDisplay-Bold.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: italic;
+ font-weight: 700;
+ font-display: swap;
+ src: url('InterDisplay-BoldItalic.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: normal;
+ font-weight: 800;
+ font-display: swap;
+ src: url('InterDisplay-ExtraBold.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: italic;
+ font-weight: 800;
+ font-display: swap;
+ src: url('InterDisplay-ExtraBoldItalic.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: normal;
+ font-weight: 900;
+ font-display: swap;
+ src: url('InterDisplay-Black.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'InterDisplay';
+ font-style: italic;
+ font-weight: 900;
font-display: swap;
- font-style: oblique 0deg 10deg;
- src: url('Inter.var.woff2?v=3.19') format('woff2');
+ src: url('InterDisplay-BlackItalic.woff2') format('woff2');
}