-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Replace Google Font with local variable font #1910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
bjohansebas
merged 13 commits into
expressjs:gh-pages
from
utkarsh125:removal-of-google-fonts
May 28, 2025
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
18cf43f
Removed the Google OpenSans with fontsource/open-sans
utkarsh125 d0b1886
Placed the fonts inside the project directory itself
utkarsh125 aab6301
Fixed the fonts not being read
utkarsh125 860e96e
Removed redundant fonts, and also removed css/fonts
utkarsh125 fcd87bf
Changed the font-weight (100 to 700) range
utkarsh125 5e1a6ed
correct font family name and remove ttf font files
ShubhamOulkar 53b65da
correcting italic font file name
ShubhamOulkar 5540a44
Removed ttf fonts and renamed the font fileNames for simplicity
utkarsh125 7e66ce9
font imports removed from style.css
utkarsh125 b543dd9
Merge branch 'gh-pages' into removal-of-google-fonts
ShubhamOulkar 3c16d21
fix: path fix and font preload
utkarsh125 44d7d33
fix: fixed fonts.css order
utkarsh125 0167c97
chore: removed additional whitespaces
utkarsh125 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,19 @@ | ||
@font-face { | ||
font-family: "Open Sans"; | ||
ShubhamOulkar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
font-style: normal; | ||
font-weight: 100 700; | ||
font-display: swap; | ||
src: local("Open Sans"), | ||
url("./woff2/OpenSans.woff2") format("woff2"), | ||
ShubhamOulkar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
url("./woff/OpenSans.woff") format("woff"), | ||
} | ||
|
||
@font-face { | ||
font-family: "Open Sans"; | ||
font-style: italic; | ||
font-weight: 100 700; | ||
font-display: swap; | ||
src: local("Open Sans"), | ||
url("./woff2/OpenSans-Italic.woff2") format("woff2"), | ||
url("./woff/OpenSans-Italic.woff") format("woff"), | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.