Skip to content

Commit

Permalink
added inter web font
Browse files Browse the repository at this point in the history
  • Loading branch information
tbsbdr committed Apr 21, 2024
1 parent b75de3a commit 6e0bb1d
Show file tree
Hide file tree
Showing 153 changed files with 864 additions and 50,870 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

.DS_Store
/node_modules
/public
public/*
public/authors/sam-wilson/index.html
public/
resources/
Binary file added assets/fonts/Inter/Inter-Black.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-BlackItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Bold.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-BoldItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-ExtraBold.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-ExtraLight.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-ExtraLightItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Italic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Light.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-LightItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Medium.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-MediumItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Regular.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-SemiBold.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-SemiBoldItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Thin.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-ThinItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-Black.woff2
Binary file not shown.
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-Bold.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-BoldItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-ExtraBold.woff2
Binary file not shown.
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-ExtraLight.woff2
Binary file not shown.
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-Italic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-Light.woff2
Binary file not shown.
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-Medium.woff2
Binary file not shown.
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-Regular.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-SemiBold.woff2
Binary file not shown.
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-Thin.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/InterDisplay-ThinItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/InterVariable-Italic.woff2
Binary file not shown.
Binary file added assets/fonts/Inter/InterVariable.woff2
Binary file not shown.
57 changes: 57 additions & 0 deletions assets/fonts/Inter/inter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/* 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; 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") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("Inter-BlackItalic.woff2") format("woff2"); }
@font-face { 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-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLight.woff2") format("woff2"); }
@font-face { 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-weight: 300; font-display: swap; src: url("InterDisplay-LightItalic.woff2") format("woff2"); }
@font-face { 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; src: url("InterDisplay-BlackItalic.woff2") format("woff2"); }
1 change: 1 addition & 0 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Add your own custom styles here
@import url(/assets/fonts/Inter/inter.css);
4 changes: 2 additions & 2 deletions data/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"fonts": {
"font_family": {
"primary": "Verdana:wght@400;600",
"primary": "Inter:wght@400;600",
"primary_type": "sans-serif",
"secondary": "Verdana:wght@500;700",
"secondary": "Inter:wght@500;700",
"secondary_type": "sans-serif"
},
"font_size": {
Expand Down
44 changes: 22 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ module hugoplate.netlify.app
go 1.20

require (
github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/images v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/modal v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/search v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/tab v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20240414052440-de0e16b3cfb6 // indirect
github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/images v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/modal v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/search v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/tab v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240417032207-612e47c108d7 // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20240417032207-612e47c108d7 // indirect
)
Loading

0 comments on commit 6e0bb1d

Please sign in to comment.