Skip to content

Commit

Permalink
WDSUS-24 - Themejson cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix committed May 19, 2023
1 parent adc7a47 commit bcea990
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions theme.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"appearanceTools": true,
"spacing": {
"blockGap": true,
"margin": true,
Expand Down Expand Up @@ -88,7 +87,13 @@
"fontSize": "var(--wp--preset--font-size--medium)"
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)"
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"top": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--30)",
"bottom": "var(--wp--preset--spacing--40)",
"left": "var(--wp--preset--spacing--30)"
}
},
"color": {
"background": "var(--wp--preset--color--secondary-100)",
Expand Down Expand Up @@ -141,16 +146,6 @@
"color": {
"text": "var(--wp--preset--color--tertiary-300)"
},
":hover": {
"color": {
"text": { "ref": "styles.color.text" }
}
},
":focus": {
"color": {
"text": { "ref": "styles.color.text" }
}
},
":active": {
"color": {
"text": { "ref": "styles.color.text" }
Expand Down Expand Up @@ -297,14 +292,7 @@
}
},
"core/image": {
"spacing": {
"margin": {
"top": "30px",
"right": "0",
"bottom": "30px",
"left": "0"
}
}
"css": "&.aligncenter {margin-left: auto; margin-right: auto;}"
},
"core/navigation": {
"elements": {
Expand Down Expand Up @@ -409,5 +397,7 @@
}
}
}
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

0 comments on commit bcea990

Please sign in to comment.