Skip to content

Commit

Permalink
Merge pull request #240 from bacoords/update-default-styles
Browse files Browse the repository at this point in the history
Updates to default wordpress font and colors
  • Loading branch information
bacoords authored Apr 12, 2024
2 parents 0dafbfa + c159b48 commit 4d0ae5e
Show file tree
Hide file tree
Showing 21 changed files with 31 additions and 60 deletions.
Binary file added fonts/EBGaramond-Bold.ttf
Binary file not shown.
Binary file added fonts/EBGaramond-BoldItalic.ttf
Binary file not shown.
Binary file added fonts/EBGaramond-Italic.ttf
Binary file not shown.
Binary file added fonts/EBGaramond-Regular.ttf
Binary file not shown.
Binary file added fonts/Inter-Bold.ttf
Binary file not shown.
Binary file added fonts/Inter-Regular.ttf
Binary file not shown.
Binary file removed fonts/Manrope-Bold.woff2
Binary file not shown.
Binary file removed fonts/Manrope-Regular.woff2
Binary file not shown.
Binary file removed fonts/dmserifdisplay-italic-webfont.woff
Binary file not shown.
Binary file removed fonts/dmserifdisplay-italic-webfont.woff2
Binary file not shown.
Binary file removed fonts/dmserifdisplay-regular-webfont.woff
Binary file not shown.
Binary file removed fonts/dmserifdisplay-regular-webfont.woff2
Binary file not shown.
Binary file removed fonts/lato-bold.woff
Binary file not shown.
Binary file removed fonts/lato-bold.woff2
Binary file not shown.
Binary file removed fonts/lato-bolditalic.woff
Binary file not shown.
Binary file removed fonts/lato-bolditalic.woff2
Binary file not shown.
Binary file removed fonts/lato-italic.woff
Binary file not shown.
Binary file removed fonts/lato-italic.woff2
Binary file not shown.
Binary file removed fonts/lato-regular.woff
Binary file not shown.
Binary file removed fonts/lato-regular.woff2
Binary file not shown.
91 changes: 31 additions & 60 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@
{
"name": "Primary",
"slug": "primary",
"color": "#506930"
"color": "#3858e9"
},
{
"name": "Secondary",
"slug": "secondary",
"color": "#ADC178"
"color": "#7b90ff"
}
]
},
"custom": {
"blockGap": "1.5rem",
"border": {
"radius": "5px",
"radius": "0px",
"width": "2px",
"style": "solid",
"color": "var(--wp--preset--color--foreground)",
"focus": {
"radius": "5px",
"radius": "0px",
"width": "2px",
"style": "solid",
"color": "var(--wp--preset--color--secondary)"
Expand Down Expand Up @@ -146,93 +146,64 @@
{
"fontFace": [
{
"fontFamily": "Lato",
"fontFamily": "EBGaramond",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./fonts/lato-regular.woff2",
"file:./fonts/lato-regular.woff"
"file:./fonts/EBGaramond-Regular.ttf"
]
},
{
"fontFamily": "Lato",
"fontStyle": "italic",
"fontWeight": "400",
"fontFamily": "EBGaramond",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./fonts/lato-italic.woff2",
"file:./fonts/lato-italic.woff"
"file:./fonts/EBGaramond-Bold.ttf"
]
},
{
"fontFamily": "Lato",
{
"fontFamily": "EBGaramond",
"fontStyle": "italic",
"fontWeight": "700",
"fontWeight": "400",
"src": [
"file:./fonts/lato-bolditalic.woff2",
"file:./fonts/lato-bolditalic.woff"
"file:./fonts/EBGaramond-Italic.ttf"
]
},
{
"fontFamily": "Lato",
"fontStyle": "normal",
{
"fontFamily": "EBGaramond",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./fonts/lato-bold.woff2",
"file:./fonts/lato-bold.woff"
"file:./fonts/EBGaramond-BoldItalic.ttf"
]
}
}
],
"fontFamily": "\"Lato\", sans-serif",
"name": "Lato",
"slug": "lato"
"fontFamily": "\"EBGaramond\", sans-serif",
"name": "EB Garamond",
"slug": "ebgaramond"
},
{
"fontFace": [
{
"fontFamily": "Manrope",
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./fonts/Manrope-Regular.woff2"
"file:./fonts/Inter-Regular.ttf"
]
},
{
"fontFamily": "Manrope",
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./fonts/Manrope-Bold.woff2"
]
}
],
"fontFamily": "\"Manrope\", sans-serif",
"name": "Manrope",
"slug": "manrope"
},
{
"fontFace": [
{
"fontFamily": "DM Serif Display",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./fonts/dmserifdisplay-regular-webfont.woff2",
"file:./fonts/dmserifdisplay-regular-webfont.woff"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./fonts/dmserifdisplay-italic-webfont.woff2",
"file:./fonts/dmserifdisplay-italic-webfont.woff"
"file:./fonts/Inter-Bold.ttf"
]
}
],
"fontFamily": "\"DM Serif Display\", serif",
"name": "DM Serif Display",
"slug": "dm-serif-display"
"fontFamily": "\"Inter\", serif",
"name": "Inter",
"slug": "inter"
}
],
"fontSizes": [
Expand Down Expand Up @@ -404,7 +375,7 @@
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-serif-display)",
"fontFamily": "var(--wp--preset--font-family--ebgaramond)",
"fontWeight": "400",
"lineHeight": "1.2"
}
Expand Down Expand Up @@ -449,7 +420,7 @@
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--manrope)",
"fontFamily": "var(--wp--preset--font-family--inter)",
"fontSize": "var(--wp--preset--font-size--paragraph)",
"lineHeight": "1.6"
}
Expand Down

0 comments on commit 4d0ae5e

Please sign in to comment.