Skip to content

Commit

Permalink
Removing the unused fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
krugazul committed Dec 14, 2023
1 parent b7b2257 commit a65899e
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 110 deletions.
Binary file removed assets/fonts/lora/Lora-Italic-VariableFont_wght.ttf
Binary file not shown.
Binary file removed assets/fonts/lora/Lora-VariableFont_wght.ttf
Binary file not shown.
Binary file removed assets/fonts/manrope/manrope-200.woff2
Binary file not shown.
Binary file removed assets/fonts/manrope/manrope-300.woff2
Binary file not shown.
Binary file removed assets/fonts/manrope/manrope-500.woff2
Binary file not shown.
Binary file removed assets/fonts/manrope/manrope-600.woff2
Binary file not shown.
Binary file removed assets/fonts/manrope/manrope-700.woff2
Binary file not shown.
Binary file removed assets/fonts/manrope/manrope-800.woff2
Binary file not shown.
Binary file removed assets/fonts/manrope/manrope-regular.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ body .is-layout-constrained > .wp-block-group.alignfull {
color: currentColor!important;
}

/* Backwards Compatability */
body .has-lexend-font-family,
body .has-plus-jakarta-sans-font-family,
body .has-montserrat-font-family,
body .has-lora-font-family {
font-family: var(--wp--preset--font-family--primary);
}


/* Quote --------------------------------------------- */
.wp-block-quote.is-style-underline, .wp-block-quote.is-style-underline-primary-secondary, .wp-block-quote.is-style-underline-secondary-tertiary, .wp-block-quote.is-style-underline-tertiary-primary {
Expand Down
111 changes: 1 addition & 110 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,115 +358,6 @@
"slug": "serif",
"fontFamily": "\"Times New Roman\",\"New York\",Times,\"Noto Serif\",serif"
},
{
"fontFamily": "Manrope, sans-serif",
"name": "Manrope",
"slug": "primary",
"fontFace": [
{
"fontFamily": "Manrope",
"fontWeight": "200",
"fontStyle": "normal",
"src": [ "file:./assets/fonts/manrope/manrope-200.woff2" ]
},
{
"fontFamily": "Manrope",
"fontWeight": "300",
"fontStyle": "normal",
"src": [ "file:./assets/fonts/manrope/manrope-300.woff2" ]
},
{
"fontFamily": "Manrope",
"fontWeight": "500",
"fontStyle": "normal",
"src": [ "file:./assets/fonts/manrope/manrope-500.woff2" ]
},
{
"fontFamily": "Manrope",
"fontWeight": "700",
"fontStyle": "normal",
"src": [ "file:./assets/fonts/manrope/manrope-700.woff2" ]
},
{
"fontFamily": "Manrope",
"fontWeight": "800",
"fontStyle": "normal",
"src": [ "file:./assets/fonts/manrope/manrope-800.woff2" ]
},
{
"fontFamily": "Manrope",
"fontWeight": "regular",
"fontStyle": "normal",
"src": [ "file:./assets/fonts/manrope/manrope-regular.woff2" ]
}
]
},
{
"fontFace": [
{
"fontFamily": "Plus Jakarta Sans",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400 800",
"src": [
"file:./assets/fonts/plusjakartasans/PlusJakartaSans-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Plus Jakarta Sans\", sans-serif",
"name": "Plus Jakarta Sans",
"slug": "plus-jakarta-sans"
},
{
"fontFace": [
{
"fontFamily": "Montserrat",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400 700",
"src": [
"file:./assets/fonts/montserrat/Montserrat-VariableFont_wght.ttf"
]
},
{
"fontFamily": "Montserrat",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "400 700",
"src": [
"file:./assets/fonts/montserrat/Montserrat-Italic-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Montserrat\", serif",
"name": "Montserrat",
"slug": "montserrat"
},
{
"fontFace": [
{
"fontFamily": "Lora",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400 700",
"src": [
"file:./assets/fonts/lora/Lora-VariableFont_wght.ttf"
]
},
{
"fontFamily": "Lora",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "400 700",
"src": [
"file:./assets/fonts/lora/Lora-Italic-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Lora\", serif",
"name": "Lora",
"slug": "lora"
},
{
"fontFace": [
{
Expand All @@ -481,7 +372,7 @@
],
"fontFamily": "\"Lexend\", sans-serif",
"name": "Lexend",
"slug": "lexend"
"slug": "primary"
}
],
"fontSizes": [
Expand Down

0 comments on commit a65899e

Please sign in to comment.