-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from piazzai/develop
Roll back variable font
- Loading branch information
Showing
26 changed files
with
97 additions
and
38 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 |
---|---|---|
@@ -1,27 +1,46 @@ | ||
@font-face { | ||
font-family: InterVariable; | ||
font-style: normal; | ||
font-weight: 100 900; | ||
src: url("../fonts/InterVariable.woff2?v=4.0") format("woff2"); | ||
} | ||
$weights: ( | ||
"Light": 300, | ||
"Medium": 500, | ||
"Bold": 700, | ||
); | ||
|
||
@font-face { | ||
font-family: InterVariable; | ||
font-style: italic; | ||
font-weight: 100 900; | ||
src: url("../fonts/InterVariable-Italic.woff2?v=4.0") format("woff2"); | ||
$styles: ( | ||
normal: "", | ||
italic: "Italic", | ||
); | ||
|
||
@each $style, $style-value in $styles { | ||
@font-face { | ||
font-family: "Zilla Slab"; | ||
font-display: block; | ||
font-style: #{$style}; | ||
font-weight: 300; | ||
src: url("../fonts/ZillaSlab-Light#{$style-value}.woff2") format("woff2"); | ||
} | ||
|
||
@each $weight, $weight-value in $weights { | ||
@font-face { | ||
font-family: "Inter"; | ||
font-display: block; | ||
font-style: #{$style}; | ||
font-weight: #{$weight-value}; | ||
src: url("../fonts/Inter-#{$weight}#{$style-value}.woff2") format("woff2"); | ||
} | ||
} | ||
} | ||
|
||
@font-face { | ||
font-family: "Zilla Slab"; | ||
font-family: "Inter"; | ||
font-display: block; | ||
font-style: normal; | ||
font-weight: 300; | ||
src: url("../fonts/ZillaSlab-Light.woff2") format("woff2"); | ||
font-weight: 400; | ||
src: url("../fonts/Inter-Regular.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-family: "Zilla Slab"; | ||
font-family: "Inter"; | ||
font-display: block; | ||
font-style: italic; | ||
font-weight: 300; | ||
src: url("../fonts/ZillaSlab-LightItalic.woff2") format("woff2"); | ||
} | ||
font-weight: 400; | ||
src: url("../fonts/Inter-Italic.woff2") format("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
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.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
gem 'jekyll-nagymaros', '~> 3.0' | ||
gem 'jekyll-nagymaros', '~> 3.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.
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Gem::Specification.new do |spec| | ||
spec.name = "jekyll-nagymaros" | ||
spec.version = "3.0.0" | ||
spec.version = "3.1.0" | ||
spec.authors = ["piazzai"] | ||
spec.email = ["[email protected]"] | ||
|
||
|