Skip to content

Commit

Permalink
Enable site tagline and update themejson
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix committed May 29, 2024
1 parent 60ee64e commit 570a9ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
6 changes: 0 additions & 6 deletions assets/js/block-filters/unregister-core-embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,9 @@ document.addEventListener('DOMContentLoaded', function () {
if (typeof wp !== 'undefined' && typeof wp.blocks !== 'undefined') {
// List of Gutenberg blocks to unregister.
const unusedBlocks = [
'core/file',
'core/latest-comments',
'core/rss',
'core/tag-cloud',
'core/missing',
'core/site-tagline',
'core/loginout',
'core/term-description',
'core/query-title',
];

// List of Gutenberg block variations to unregister.
Expand Down
12 changes: 7 additions & 5 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
{
"fontFamily": "Roboto Mono",
"name": "Roboto Mono",
"slug": "roboto-mono",
"slug": "mono",
"fontFace": [
{
"fontFamily": "Roboto Mono",
Expand Down Expand Up @@ -460,8 +460,9 @@
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--s)",
"fontFamily": "var(--wp--preset--font-family--mono)"
"fontSize": "var(--wp--preset--font-size--xs)",
"fontFamily": "var(--wp--preset--font-family--mono)",
"lineHeight": "clamp(130%, 0.7600rem + 0.9178vw, 150%)"
}
},
"core/comments": {
Expand Down Expand Up @@ -541,7 +542,7 @@
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--headline)",
"fontSize": "var(--wp--preset--font-size--xxs)"
"fontSize": "0.75rem"
}
},
"core/group": {
Expand Down Expand Up @@ -620,7 +621,8 @@
"typography": {
"fontSize": "var(--wp--preset--font-size--s)",
"fontFamily": "var(--wp--preset--font-family--mono)"
}
},
"css": "overflow-x: auto;"
},
"core/pullquote": {
"border": {
Expand Down

0 comments on commit 570a9ee

Please sign in to comment.