Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Update noon and typography preset 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfra committed Oct 11, 2024
1 parent 899b032 commit f2155f2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 82 deletions.
61 changes: 21 additions & 40 deletions styles/02-noon.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,38 +57,38 @@
},
{
"fluid": {
"max": "1.3rem",
"min": "1.2rem"
"max": "1.2rem",
"min": "1rem"
},
"name": "Medium",
"size": "1rem",
"slug": "medium"
},
{
"fluid": {
"max": "1.6rem",
"min": "1.3rem"
"max": "1.8rem",
"min": "1.6rem"
},
"name": "Large",
"size": "1.38rem",
"size": "1.6rem",
"slug": "large"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
"max": "2.2rem",
"min": "1.8em"
},
"name": "Extra Large",
"size": "1.75rem",
"size": "1.8rem",
"slug": "x-large"
},
{
"fluid": {
"max": "3.625rem",
"min": "2.625rem"
"max": "2.8rem",
"min": "2rem"
},
"name": "Extra Extra Large",
"size": "2.625rem",
"size": "2rem",
"slug": "xx-large"
}
]
Expand All @@ -101,8 +101,8 @@
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontSize": "var:preset|font-size|medium",
"letterSpacing": "-0.22px",
"lineHeight": "1.5"
"letterSpacing": "-0.01em",
"lineHeight": "1.6"
},
"blocks": {
"core/button": {
Expand Down Expand Up @@ -164,26 +164,8 @@
"fontSize": "var:preset|font-size|medium"
}
},
"core/post-author": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti"
}
},
"core/post-author-name": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti"
}
},
"core/post-date": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti",
"fontSize": "var:preset|font-size|medium"
}
},
"core/post-terms": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti",
"fontSize": "var:preset|font-size|medium",
"fontWeight": "300"
}
},
Expand All @@ -197,11 +179,6 @@
"text": "var:preset|color|accent-3"
}
}
},
"typography": {
"fontSize": "var:preset|font-size|xx-large",
"fontWeight": "500",
"letterSpacing": "-1px"
}
},
"core/pullquote": {
Expand Down Expand Up @@ -240,7 +217,9 @@
},
"core/quote": {
"typography": {
"fontWeight": "300"
"fontSize": "var:preset|font-size|large",
"fontWeight": "300",
"lineHeight": "1.6"
}
},
"core/site-tagline": {
Expand All @@ -266,7 +245,7 @@
},
"h3": {
"typography": {
"fontSize": "1.8rem"
"fontSize": "var:preset|font-size|large"
}
},
"h4": {
Expand All @@ -276,7 +255,8 @@
},
"h5": {
"typography": {
"fontSize": "var:preset|font-size|medium"
"fontSize": "var:preset|font-size|medium",
"letterSpacing": "0px"
}
},
"h6": {
Expand All @@ -291,7 +271,8 @@
"typography": {
"fontFamily": "var:preset|font-family|beiruti",
"fontWeight": "500",
"letterSpacing": "-1px"
"letterSpacing": "-0.02em",
"lineHeight": "1.02"
}
},
"link": {
Expand Down
63 changes: 21 additions & 42 deletions styles/typography/typography-preset-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,38 @@
},
{
"fluid": {
"max": "1.3rem",
"min": "1.2rem"
"max": "1.2rem",
"min": "1rem"
},
"name": "Medium",
"size": "1rem",
"slug": "medium"
},
{
"fluid": {
"max": "1.6rem",
"min": "1.3rem"
"max": "1.8rem",
"min": "1.6rem"
},
"name": "Large",
"size": "1.38rem",
"size": "1.6rem",
"slug": "large"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
"max": "2.2rem",
"min": "1.8em"
},
"name": "Extra Large",
"size": "1.75rem",
"size": "1.8rem",
"slug": "x-large"
},
{
"fluid": {
"max": "3.625rem",
"min": "2.625rem"
"max": "2.8rem",
"min": "2rem"
},
"name": "Extra Extra Large",
"size": "2.625rem",
"size": "2rem",
"slug": "xx-large"
}
]
Expand All @@ -55,8 +55,8 @@
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontSize": "var:preset|font-size|medium",
"letterSpacing": "-0.22px",
"lineHeight": "1.5"
"letterSpacing": "-0.01em",
"lineHeight": "1.6"
},
"blocks": {
"core/button": {
Expand All @@ -74,36 +74,11 @@
"fontSize": "var:preset|font-size|medium"
}
},
"core/post-author": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti"
}
},
"core/post-author-name": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti"
}
},
"core/post-date": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti",
"fontSize": "var:preset|font-size|medium"
}
},
"core/post-terms": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti",
"fontSize": "var:preset|font-size|medium",
"fontWeight": "300"
}
},
"core/post-title": {
"typography": {
"fontSize": "var:preset|font-size|xx-large",
"fontWeight": "500",
"letterSpacing": "-1px"
}
},
"core/pullquote": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti",
Expand All @@ -118,7 +93,9 @@
},
"core/quote": {
"typography": {
"fontWeight": "300"
"fontSize": "var:preset|font-size|large",
"fontWeight": "300",
"lineHeight": "1.6"
}
},
"core/site-tagline": {
Expand All @@ -138,7 +115,7 @@
"elements": {
"h3": {
"typography": {
"fontSize": "1.8rem"
"fontSize": "var:preset|font-size|large"
}
},
"h4": {
Expand All @@ -148,7 +125,8 @@
},
"h5": {
"typography": {
"fontSize": "var:preset|font-size|medium"
"fontSize": "var:preset|font-size|medium",
"letterSpacing": "0px"
}
},
"h6": {
Expand All @@ -160,7 +138,8 @@
"typography": {
"fontFamily": "var:preset|font-family|beiruti",
"fontWeight": "500",
"letterSpacing": "-1px"
"letterSpacing": "-0.02em",
"lineHeight": "1.02"
}
}
}
Expand Down

0 comments on commit f2155f2

Please sign in to comment.