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

Commit

Permalink
Merge pull request #49 from WordPress/add/spacing
Browse files Browse the repository at this point in the history
Add spacing sizes

Co-authored-by: carolinan <[email protected]>
Co-authored-by: huzaifaalmesbah <[email protected]>
Co-authored-by: juanfra <[email protected]>
Co-authored-by: rejaulalomkhan <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: beafialho <[email protected]>
Co-authored-by: joedolson <[email protected]>
  • Loading branch information
8 people authored Aug 19, 2024
2 parents cdb8d03 + 854e6f9 commit 951cd5c
Showing 1 changed file with 48 additions and 2 deletions.
50 changes: 48 additions & 2 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,54 @@
]
},
"layout": {
"contentSize": "840px",
"wideSize": "1100px"
"contentSize": "645px",
"wideSize": "1340px"
},
"spacing": {
"defaultSpacingSizes": false,
"spacingSizes": [
{
"name": "X-Tiny",
"size": "5px",
"slug": "10"
},
{
"name": "Tiny",
"size": "10px",
"slug": "20"
},
{
"name": "X-Small",
"size": "20px",
"slug": "30"
},
{
"name": "Small",
"size": "30px",
"slug": "40"
},
{
"name": "Regular",
"size": "clamp(30px, 5vw, 50px);",
"slug": "50"
},
{
"name": "Large",
"size": "clamp(30px, 7vw, 70px);",
"slug": "60"
},
{
"name": "X-Large",
"size": "clamp(50px, 7vw, 90px);",
"slug": "70"
},
{
"name": "XX-Large",
"size": "clamp(70px, 10vw, 140px);",
"slug": "80"
}
],
"units": ["%", "px", "em", "rem", "vh", "vw"]
},
"useRootPaddingAwareAlignments": true
},
Expand Down

0 comments on commit 951cd5c

Please sign in to comment.