Skip to content

Commit

Permalink
improve: Adding more fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronware committed Jul 21, 2022
1 parent e47d1a8 commit e6ad515
Showing 1 changed file with 88 additions and 14 deletions.
102 changes: 88 additions & 14 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,27 @@
}
]
},
{
"fontFamily": "Gilmer-Light, sans-serif",
"name": "Gilmer Light",
"slug": "light",
"fontFace": [
{
"fontDisplay": "block",
"fontFamily": "Gilmer-Light",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "normal",
"src": [
"file:./assets/fonts/gilmer-light.eot",
"file:./assets/fonts/gilmer-light.woff2",
"file:./assets/fonts/gilmer-light.woff",
"file:./assets/fonts/gilmer-light.ttf",
"file:./assets/fonts/gilmer-light.woff2"
]
}
]
},
{
"fontFamily": "Gilmer-Medium, sans-serif",
"name": "Gilmer Medium",
Expand Down Expand Up @@ -242,6 +263,48 @@
}
]
},
{
"fontFamily": "Gilmer-Heavy, sans-serif",
"name": "Gilmer Heavy",
"slug": "heavy",
"fontFace": [
{
"fontDisplay": "block",
"fontFamily": "Gilmer-Heavy",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "normal",
"src": [
"file:./assets/fonts/gilmer-heavy.eot",
"file:./assets/fonts/gilmer-heavy.woff2",
"file:./assets/fonts/gilmer-heavy.woff",
"file:./assets/fonts/gilmer-heavy.ttf",
"file:./assets/fonts/gilmer-heavy.woff2"
]
}
]
},
{
"fontFamily": "Gilmer-Outline, sans-serif",
"name": "Gilmer Outline",
"slug": "outline",
"fontFace": [
{
"fontDisplay": "block",
"fontFamily": "Gilmer-Outline",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "normal",
"src": [
"file:./assets/fonts/gilmer-outline.eot",
"file:./assets/fonts/gilmer-outline.woff2",
"file:./assets/fonts/gilmer-outline.woff",
"file:./assets/fonts/gilmer-outline.ttf",
"file:./assets/fonts/gilmer-outline.woff2"
]
}
]
},
{
"fontFamily": "monospace",
"name": "Monospace",
Expand All @@ -252,42 +315,52 @@
{
"name": "Small",
"slug": "small",
"size": "16px"
"size": "14px"
},
{
"name": "Medium",
"slug": "medium",
"size": "20px"
},
{
"name": "Large",
"name": "Large (40px)",
"slug": "large",
"size": "24px"
"size": "40px"
},
{
"name": "xLarge",
"name": "xLarge (90px)",
"slug": "x-large",
"size": "30px"
"size": "90px"
},
{
"name": "32px (Responsive)",
"slug": "max-32",
"size": "clamp(20px, 3vw, 32px)"
},
{
"name": "36px",
"name": "36px (Responsive)",
"slug": "max-36",
"size": "clamp(24px, 3vw, 36px)"
},
{
"name": "48px",
"name": "30px (Responsive)",
"slug": "max-40",
"size": "clamp(24px, 3vw, 40px)"
},
{
"name": "48px (Responsive)",
"slug": "max-48",
"size": "clamp(30px, 4vw, 48px)"
},
{
"name": "60px",
"slug": "max-60",
"size": "clamp(36px, 5vw, 60px)"
"name": "40px (Responsive)",
"slug": "max-40",
"size": "clamp(30px, 5vw, 40px)"
},
{
"name": "72px",
"slug": "max-72",
"size": "clamp(48px, 6vw, 72px)"
"name": "90px (Responsive)",
"slug": "max-90",
"size": "clamp(48px, 6vw, 90px)"
}
]
}
Expand Down Expand Up @@ -540,7 +613,8 @@
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontWeight": "var(--wp--custom--font-weight--medium)",
}
},
"h2": {
Expand Down

0 comments on commit e6ad515

Please sign in to comment.