Skip to content
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

Replace font families #80

Merged
merged 11 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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