-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added font definitions and commented font load in index.html * added woff and woff2 fonts in the project * added css for the fonts and added the _fonts.scss to base * removed the google fonts API link from index.html
- Loading branch information
1 parent
9567fbb
commit dedf454
Showing
17 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare module '*.woff' | ||
declare module '*.woff2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* open-sans-regular - latin */ | ||
@font-face { | ||
font-display: swap; | ||
font-family: "Open Sans"; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: local("Open Sans Regular"), local("OpenSans-Regular"), | ||
url("./fonts/open-sans/open-sans-v15-latin-regular.woff2") format("woff2"), | ||
/* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url("./fonts/open-sans/open-sans-v15-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
|
||
/* raleway-300 - latin */ | ||
@font-face { | ||
font-display: swap; | ||
font-family: "Raleway"; | ||
font-style: normal; | ||
font-weight: 300; | ||
src: local("Raleway Light"), local("Raleway-Light"), | ||
url("./fonts/raleway/raleway-v12-latin-300.woff2") format("woff2"), | ||
/* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url("./fonts/raleway/raleway-v12-latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
/* raleway-regular - latin */ | ||
@font-face { | ||
font-display: swap; | ||
font-family: "Raleway"; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: local("Raleway"), local("Raleway-Regular"), | ||
url("./fonts/raleway/raleway-v12-latin-regular.woff2") format("woff2"), | ||
/* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url("./fonts/raleway/raleway-v12-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
/* raleway-500 - latin */ | ||
@font-face { | ||
font-display: swap; | ||
font-family: "Raleway"; | ||
font-style: normal; | ||
font-weight: 500; | ||
src: local("Raleway Medium"), local("Raleway-Medium"), | ||
url("./fonts/raleway/raleway-v12-latin-500.woff2") format("woff2"), | ||
/* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url("./fonts/raleway/raleway-v12-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
/* raleway-600 - latin */ | ||
@font-face { | ||
font-display: swap; | ||
font-family: "Raleway"; | ||
font-style: normal; | ||
font-weight: 600; | ||
src: local("Raleway SemiBold"), local("Raleway-SemiBold"), | ||
url("./fonts/raleway/raleway-v12-latin-600.woff2") format("woff2"), | ||
/* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url("./fonts/raleway/raleway-v12-latin-600.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
/* raleway-800 - latin */ | ||
@font-face { | ||
font-display: swap; | ||
font-family: "Raleway"; | ||
font-style: normal; | ||
font-weight: 800; | ||
src: local("Raleway ExtraBold"), local("Raleway-ExtraBold"), | ||
url("./fonts/raleway/raleway-v12-latin-800.woff2") format("woff2"), | ||
/* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url("./fonts/raleway/raleway-v12-latin-800.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.