Skip to content

Commit

Permalink
add core/head styling options
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperf committed Dec 2, 2024
1 parent 5f058ce commit f526f10
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions site/web/app/themes/nynaeve/bud.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,20 @@ export default async (app) => {
},
spacing: {
padding: true,
margin: true,
units: ['px', '%', 'em', 'rem', 'vw', 'vh'],
},
typography: {
customFontSize: false,
},
blocks: {
'core/heading': {
spacing: {
padding: true,
margin: true,
}
},
}
})
.useTailwindColors()
.useTailwindFontFamily()
Expand Down
19 changes: 19 additions & 0 deletions site/web/app/themes/nynaeve/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,16 @@
"color": "#02567e",
"name": "CtaButtonBlueHover",
"slug": "ctabuttonbluehover"
},
{
"color": "#171b23",
"name": "FooterBg",
"slug": "footerbg"
},
{
"color": "#465166",
"name": "FooterText",
"slug": "footertext"
}
]
},
Expand All @@ -1291,6 +1301,7 @@
},
"spacing": {
"padding": true,
"margin": true,
"units": [
"px",
"%",
Expand Down Expand Up @@ -1391,6 +1402,14 @@
"slug": "9xl"
}
]
},
"blocks": {
"core/heading": {
"spacing": {
"padding": true,
"margin": true
}
}
}
}
}

0 comments on commit f526f10

Please sign in to comment.