Skip to content

Commit

Permalink
Merge pull request #80 from Codeinwp/Replace-font-families
Browse files Browse the repository at this point in the history
Replace font families
  • Loading branch information
JohnPixle authored Nov 23, 2023
2 parents 95c8142 + 533d466 commit 945402e
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 29 deletions.
Binary file removed assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
Copyright 2022 The Spline Sans Mono Project Authors (https://github.com/SorkinType/SplineSansMono)

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:
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
Copyright 2021 The Spline Sans Project Authors (https://github.com/SorkinType/SplineSans)

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:
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion styles/green-retro.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--source-sans-lora)"
"fontFamily": "var(--wp--preset--font-family--lora)"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions styles/mono.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--jet-brains-mono)"
"fontFamily": "var(--wp--preset--font-family--spline-sans-mono)"
}
},
"h1": {
Expand Down Expand Up @@ -82,7 +82,7 @@
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--jet-brains-mono)"
"fontFamily": "var(--wp--preset--font-family--spline-sans-mono)"
}
}
}
Expand Down
20 changes: 10 additions & 10 deletions styles/violet-grain.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,47 +43,47 @@
]
}
},
"styles": {
"styles": {
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--geologica)"
"fontFamily": "var(--wp--preset--font-family--spline-sans)"
}
},
"h1": {
"typography": {
"fontWeight": "800"
"fontWeight": "900"
}
},
"h2": {
"typography": {
"fontWeight": "800"
"fontWeight": "700"
}
},
"h3": {
"typography": {
"fontWeight": "800"
"fontWeight": "700"
}
},
"h4": {
"typography": {
"fontWeight": "800"
"fontWeight": "700"
}
},
"h5": {
"typography": {
"fontWeight": "800"
"fontWeight": "700"
}
},
"h6": {
"typography": {
"fontWeight": "800"
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--geologica)"
"fontFamily": "var(--wp--preset--font-family--spline-sans)",
"fontWeight": "400"
}
}
}

1 change: 1 addition & 0 deletions styles/washed.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--geologica)"
"fontWeight": "300"
}
}
}
Expand Down
28 changes: 14 additions & 14 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,18 @@
"fontFace": [
{
"fontDisplay": "swap",
"fontFamily": "inter",
"fontFamily": "spline-sans",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "300 900",
"src": [
"file:.assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf"
"file:./assets/fonts/spline-sans/SplineSans-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"inter\", sans-serif",
"name": "Inter",
"slug": "inter"
"fontFamily": "\"spline-sans\", sans-serif",
"name": "Spline Sans",
"slug": "spline-sans"
},
{
"fontFace": [
Expand All @@ -158,7 +158,7 @@
"fontStyle": "normal",
"fontWeight": "300 900",
"src": [
"file:.assets/fonts/geologica/Geologica-VariableFont_CRSV,SHRP,slnt,wght.ttf"
"file:./assets/fonts/geologica/Geologica-VariableFont_CRSV,SHRP,slnt,wght.ttf"
]
}
],
Expand All @@ -175,7 +175,7 @@
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:.assets/fonts/gloock/Gloock-Regular.ttf"
"file:./assets/fonts/gloock/Gloock-Regular.ttf"
]
}
],
Expand All @@ -187,27 +187,27 @@
"fontFace": [
{
"fontDisplay": "swap",
"fontFamily": "Jet Brains Mono",
"fontFamily": "spline-sans-mono",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400 800",
"src": [
"file:.assets/fonts/jet-brains-mono/JetBrainsMono-VariableFont_wght.ttf"
"file:./assets/fonts/spline-sans-mono/SplineSansMono-VariableFont_wght.ttf"
]
},
{
"fontFamily": "Jet Brains Mono",
"fontFamily": "spline-sans-mono",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "400 800",
"src": [
"file:.assets/fonts/jet-brains-mono/JetBrainsMono-VariableFont_wght.ttf"
"file:./assets/fonts/spline-sans-mono/SplineSansMono-Italic-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"jet-brains-mono\", sans-serif",
"name": "Jet Brains Mono",
"slug": "jet-brains-mono"
"fontFamily": "\"spline-sans-mono\", sans-serif",
"name": "Spline Sans Mono",
"slug": "spline-sans-mono"
},
{
"fontFace": [
Expand Down

0 comments on commit 945402e

Please sign in to comment.