diff --git a/public/assets/fonts/poppins/OFL.txt b/public/assets/fonts/outfit/OFL.txt similarity index 97% rename from public/assets/fonts/poppins/OFL.txt rename to public/assets/fonts/outfit/OFL.txt index 76df3b5..fd0cb99 100644 --- a/public/assets/fonts/poppins/OFL.txt +++ b/public/assets/fonts/outfit/OFL.txt @@ -1,8 +1,8 @@ -Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins) +Copyright 2021 The Outfit Project Authors (https://github.com/Outfitio/Outfit-Fonts) This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL +https://openfontlicense.org ----------------------------------------------------------- diff --git a/public/assets/fonts/outfit/Outfit-VariableFont_wght.ttf b/public/assets/fonts/outfit/Outfit-VariableFont_wght.ttf new file mode 100644 index 0000000..96106f0 Binary files /dev/null and b/public/assets/fonts/outfit/Outfit-VariableFont_wght.ttf differ diff --git a/public/assets/fonts/outfit/README.txt b/public/assets/fonts/outfit/README.txt new file mode 100644 index 0000000..702665a --- /dev/null +++ b/public/assets/fonts/outfit/README.txt @@ -0,0 +1,71 @@ +Outfit Variable Font +==================== + +This download contains Outfit as both a variable font and static fonts. + +Outfit is a variable font with this axis: + wght + +This means all the styles are contained in a single file: + Outfit-VariableFont_wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Outfit: + static/Outfit-Thin.ttf + static/Outfit-ExtraLight.ttf + static/Outfit-Light.ttf + static/Outfit-Regular.ttf + static/Outfit-Medium.ttf + static/Outfit-SemiBold.ttf + static/Outfit-Bold.ttf + static/Outfit-ExtraBold.ttf + static/Outfit-Black.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (OFL.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them in your products & projects – print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/public/assets/fonts/outfit/static/Outfit-Black.ttf b/public/assets/fonts/outfit/static/Outfit-Black.ttf new file mode 100644 index 0000000..487752b Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-Black.ttf differ diff --git a/public/assets/fonts/outfit/static/Outfit-Bold.ttf b/public/assets/fonts/outfit/static/Outfit-Bold.ttf new file mode 100644 index 0000000..0a081bc Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-Bold.ttf differ diff --git a/public/assets/fonts/outfit/static/Outfit-ExtraBold.ttf b/public/assets/fonts/outfit/static/Outfit-ExtraBold.ttf new file mode 100644 index 0000000..0977ed5 Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-ExtraBold.ttf differ diff --git a/public/assets/fonts/outfit/static/Outfit-ExtraLight.ttf b/public/assets/fonts/outfit/static/Outfit-ExtraLight.ttf new file mode 100644 index 0000000..938fe31 Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-ExtraLight.ttf differ diff --git a/public/assets/fonts/outfit/static/Outfit-Light.ttf b/public/assets/fonts/outfit/static/Outfit-Light.ttf new file mode 100644 index 0000000..c18b0c1 Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-Light.ttf differ diff --git a/public/assets/fonts/outfit/static/Outfit-Medium.ttf b/public/assets/fonts/outfit/static/Outfit-Medium.ttf new file mode 100644 index 0000000..7ae796b Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-Medium.ttf differ diff --git a/public/assets/fonts/outfit/static/Outfit-Regular.ttf b/public/assets/fonts/outfit/static/Outfit-Regular.ttf new file mode 100644 index 0000000..826899c Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-Regular.ttf differ diff --git a/public/assets/fonts/outfit/static/Outfit-SemiBold.ttf b/public/assets/fonts/outfit/static/Outfit-SemiBold.ttf new file mode 100644 index 0000000..6b37eeb Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-SemiBold.ttf differ diff --git a/public/assets/fonts/outfit/static/Outfit-Thin.ttf b/public/assets/fonts/outfit/static/Outfit-Thin.ttf new file mode 100644 index 0000000..7d84201 Binary files /dev/null and b/public/assets/fonts/outfit/static/Outfit-Thin.ttf differ diff --git a/public/assets/fonts/poppins/Poppins-Black.ttf b/public/assets/fonts/poppins/Poppins-Black.ttf deleted file mode 100644 index 71c0f99..0000000 Binary files a/public/assets/fonts/poppins/Poppins-Black.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-BlackItalic.ttf b/public/assets/fonts/poppins/Poppins-BlackItalic.ttf deleted file mode 100644 index 7aeb58b..0000000 Binary files a/public/assets/fonts/poppins/Poppins-BlackItalic.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-Bold.ttf b/public/assets/fonts/poppins/Poppins-Bold.ttf deleted file mode 100644 index 00559ee..0000000 Binary files a/public/assets/fonts/poppins/Poppins-Bold.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-BoldItalic.ttf b/public/assets/fonts/poppins/Poppins-BoldItalic.ttf deleted file mode 100644 index e61e8e8..0000000 Binary files a/public/assets/fonts/poppins/Poppins-BoldItalic.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-ExtraBold.ttf b/public/assets/fonts/poppins/Poppins-ExtraBold.ttf deleted file mode 100644 index df70936..0000000 Binary files a/public/assets/fonts/poppins/Poppins-ExtraBold.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-ExtraBoldItalic.ttf b/public/assets/fonts/poppins/Poppins-ExtraBoldItalic.ttf deleted file mode 100644 index 14d2b37..0000000 Binary files a/public/assets/fonts/poppins/Poppins-ExtraBoldItalic.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-ExtraLight.ttf b/public/assets/fonts/poppins/Poppins-ExtraLight.ttf deleted file mode 100644 index e76ec69..0000000 Binary files a/public/assets/fonts/poppins/Poppins-ExtraLight.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-ExtraLightItalic.ttf b/public/assets/fonts/poppins/Poppins-ExtraLightItalic.ttf deleted file mode 100644 index 89513d9..0000000 Binary files a/public/assets/fonts/poppins/Poppins-ExtraLightItalic.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-Italic.ttf b/public/assets/fonts/poppins/Poppins-Italic.ttf deleted file mode 100644 index 12b7b3c..0000000 Binary files a/public/assets/fonts/poppins/Poppins-Italic.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-Light.ttf b/public/assets/fonts/poppins/Poppins-Light.ttf deleted file mode 100644 index bc36bcc..0000000 Binary files a/public/assets/fonts/poppins/Poppins-Light.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-LightItalic.ttf b/public/assets/fonts/poppins/Poppins-LightItalic.ttf deleted file mode 100644 index 9e70be6..0000000 Binary files a/public/assets/fonts/poppins/Poppins-LightItalic.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-Medium.ttf b/public/assets/fonts/poppins/Poppins-Medium.ttf deleted file mode 100644 index 6bcdcc2..0000000 Binary files a/public/assets/fonts/poppins/Poppins-Medium.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-MediumItalic.ttf b/public/assets/fonts/poppins/Poppins-MediumItalic.ttf deleted file mode 100644 index be67410..0000000 Binary files a/public/assets/fonts/poppins/Poppins-MediumItalic.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-Regular.ttf b/public/assets/fonts/poppins/Poppins-Regular.ttf deleted file mode 100644 index 9f0c71b..0000000 Binary files a/public/assets/fonts/poppins/Poppins-Regular.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-SemiBold.ttf b/public/assets/fonts/poppins/Poppins-SemiBold.ttf deleted file mode 100644 index 74c726e..0000000 Binary files a/public/assets/fonts/poppins/Poppins-SemiBold.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-SemiBoldItalic.ttf b/public/assets/fonts/poppins/Poppins-SemiBoldItalic.ttf deleted file mode 100644 index 3e6c942..0000000 Binary files a/public/assets/fonts/poppins/Poppins-SemiBoldItalic.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-Thin.ttf b/public/assets/fonts/poppins/Poppins-Thin.ttf deleted file mode 100644 index 03e7366..0000000 Binary files a/public/assets/fonts/poppins/Poppins-Thin.ttf and /dev/null differ diff --git a/public/assets/fonts/poppins/Poppins-ThinItalic.ttf b/public/assets/fonts/poppins/Poppins-ThinItalic.ttf deleted file mode 100644 index e26db5d..0000000 Binary files a/public/assets/fonts/poppins/Poppins-ThinItalic.ttf and /dev/null differ diff --git a/src/styles/global/fonts.css b/src/styles/global/fonts.css index 93be3e8..be73577 100644 --- a/src/styles/global/fonts.css +++ b/src/styles/global/fonts.css @@ -1,63 +1,13 @@ :root { - --body-font-family: "Poppins", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', + --body-font-family: "Outfit", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; --mono-font-family: "Roboto Mono", source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } @font-face { - font-family: "Poppins"; - src: url("/public/assets/fonts/poppins/Poppins-Thin.ttf"); - font-weight: 100; - font-display: swap; -} - -@font-face { - font-family: "Poppins"; - src: url("/public/assets/fonts/poppins/Poppins-ExtraLight.ttf"); - font-weight: 200; - font-display: swap; -} - -@font-face { - font-family: "Poppins"; - src: url("/public/assets/fonts/poppins/Poppins-Light.ttf"); - font-weight: 300; - font-display: swap; -} - -@font-face { - font-family: "Poppins"; - src: url("/public/assets/fonts/poppins/Poppins-Regular.ttf"); - font-weight: 400; - font-display: swap; -} - -@font-face { - font-family: "Poppins"; - src: url("/public/assets/fonts/poppins/Poppins-SemiBold.ttf"); - font-weight: 500; - font-display: swap; -} - -@font-face { - font-family: "Poppins"; - src: url("/public/assets/fonts/poppins/Poppins-Bold.ttf"); - font-weight: 600; - font-display: swap; -} - -@font-face { - font-family: "Poppins"; - src: url("/public/assets/fonts/poppins/Poppins-ExtraBold.ttf"); - font-weight: 700; - font-display: swap; -} - -@font-face { - font-family: "Poppins"; - src: url("/public/assets/fonts/poppins/Poppins-Black.ttf"); - font-weight: 800; + font-family: "Outfit"; + src: url("/public/assets/fonts/outfit/Outfit-VariableFont_wght.ttf"); font-display: swap; }