Skip to content

Commit

Permalink
replaces px padding values with variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPixle authored Nov 23, 2023
1 parent 95c8142 commit e519e99
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,10 @@
},
"spacing": {
"padding": {
"bottom": "16px",
"left": "32px",
"right": "32px",
"top": "16px"
"bottom": "var(--wp--preset--spacing--30)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--30)"
}
},
"typography": {
Expand All @@ -441,10 +441,10 @@
},
"spacing": {
"padding": {
"bottom": "24px",
"left": "24px",
"right": "24px",
"top": "24px"
"bottom": "var(--wp--preset--spacing--40)",
"left": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
}
},
Expand Down

0 comments on commit e519e99

Please sign in to comment.