From d2516d01d0646ad170d6e9418ca201cb03627687 Mon Sep 17 00:00:00 2001 From: Geoff Dusome Date: Thu, 23 Apr 2026 15:41:10 -0400 Subject: [PATCH 1/3] turn on way more settings for all blocks --- wp-content/themes/core/theme.json | 125 ++---------------------------- 1 file changed, 7 insertions(+), 118 deletions(-) diff --git a/wp-content/themes/core/theme.json b/wp-content/themes/core/theme.json index 0cb94362..20e45947 100644 --- a/wp-content/themes/core/theme.json +++ b/wp-content/themes/core/theme.json @@ -22,6 +22,7 @@ "tribe/logo-marquee", "tribe/vertical-tab" ], + "appearanceTools": true, "blocks": { "core/buttons": { "spacing": { @@ -35,6 +36,10 @@ "style": false, "width": false }, + "color": { + "text": false + }, + "shadow": [], "spacing": { "padding": false }, @@ -49,128 +54,26 @@ "blockGap": true } }, - "core/cover": { - "border": { - "radius": true - } - }, - "core/details": { - "border": { - "color": true, - "radius": false, - "style": false, - "width": true - }, - "spacing": { - "margin": true, - "padding": false - } - }, "core/group": { - "color": { - "background": true - }, - "background": { - "backgroundImage": true, - "backgroundSize": true - }, "spacing": { "blockGap": true } }, - "core/heading": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, - "core/image": { - "border": { - "color": true, - "radius": true, - "width": true - } - }, - "core/list": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, - "core/list-item": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, "core/navigation": { "spacing": { "blockGap": true } }, - "core/paragraph": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, - "core/post-featured-image": { - "border": { - "radius": true - } - }, "core/post-template": { "spacing": { "blockGap": true } }, - "core/pullquote": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, - "core/quote": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, - "core/query-pagination": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, - "core/query-pagination-previous": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, - "core/query-pagination-next": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, - "core/query-pagination-numbers": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, "core/social-links": { "spacing": { "blockGap": true } }, - "core/table": { - "typography": { - "fontFamilies": [], - "fontSizes": [] - } - }, "outermost/social-sharing": { "spacing": { "blockGap": true @@ -178,15 +81,10 @@ } }, "color": { - "background": false, - "custom": false, - "customDuotone": false, - "customGradient": false, "defaultGradients": false, "defaultPalette": false, "duotone": [], "gradients": [], - "link": false, "palette": [ { "color": "#3050E5", @@ -230,9 +128,7 @@ "wideSize": "1136px" }, "typography": { - "customFontSize": false, "defaultFontSizes": false, - "dropCap": false, "fluid": false, "fontFamilies": [ { @@ -325,14 +221,10 @@ "size": "clamp(3rem, 2.4rem + 3vw, 6rem)", "name": "Font Size 90" } - ], - "fontStyle": false, - "fontWeight": false, - "letterSpacing": false, - "lineHeight": false, - "textDecoration": false + ] }, "shadow": { + "defaultPresets": false, "presets": [ { "name": "Shadow 10", @@ -368,9 +260,6 @@ }, "spacing": { "defaultSpacingSizes": false, - "margin": true, - "padding": true, - "blockGap": false, "spacingSizes": [ { "size": "clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem)", From 0e30047969c5fe29b43506c8d678bb5d42e15340 Mon Sep 17 00:00:00 2001 From: Geoff Dusome Date: Fri, 1 May 2026 10:09:38 -0400 Subject: [PATCH 2/3] finalize new theme json settings --- .../core/assets/pcss/color/_variables.pcss | 7 ++ .../themes/core/blocks/core/embed/style.pcss | 1 + wp-content/themes/core/theme.json | 65 +++++++++++-------- 3 files changed, 45 insertions(+), 28 deletions(-) diff --git a/wp-content/themes/core/assets/pcss/color/_variables.pcss b/wp-content/themes/core/assets/pcss/color/_variables.pcss index 1331f958..46f241d5 100644 --- a/wp-content/themes/core/assets/pcss/color/_variables.pcss +++ b/wp-content/themes/core/assets/pcss/color/_variables.pcss @@ -71,6 +71,13 @@ --box-shadow-40: var(--wp--preset--shadow--40); --box-shadow-50: var(--wp--preset--shadow--50); --box-shadow-60: var(--wp--preset--shadow--60); + + /* ----------------------------------------------------------------------- + * Gradients + * ----------------------------------------------------------------------- */ + + --gradient-simple-black-horizontal: var(--wp--preset--gradient--simple-black-horizontal); + --gradient-simple-black-vertical: var(--wp--preset--gradient--simple-black-vertical); } :root, diff --git a/wp-content/themes/core/blocks/core/embed/style.pcss b/wp-content/themes/core/blocks/core/embed/style.pcss index 587cfd4d..834cc26a 100644 --- a/wp-content/themes/core/blocks/core/embed/style.pcss +++ b/wp-content/themes/core/blocks/core/embed/style.pcss @@ -3,6 +3,7 @@ * Block - Embed - FE / Editor Styles * * ------------------------------------------------------------------------- */ + .wp-block-embed { @mixin media-block-shared-alignment; diff --git a/wp-content/themes/core/theme.json b/wp-content/themes/core/theme.json index 20e45947..a346a3f9 100644 --- a/wp-content/themes/core/theme.json +++ b/wp-content/themes/core/theme.json @@ -24,11 +24,6 @@ ], "appearanceTools": true, "blocks": { - "core/buttons": { - "spacing": { - "blockGap": true - } - }, "core/button": { "border": { "color": false, @@ -37,7 +32,9 @@ "width": false }, "color": { - "text": false + "text": false, + "background": false, + "gradients": [] }, "shadow": [], "spacing": { @@ -45,46 +42,58 @@ }, "typography": { "fontFamilies": [], + "customFontSize": false, "fontSizes": [], - "textTransform": false - } - }, - "core/columns": { - "spacing": { - "blockGap": true + "textTransform": false, + "fontWeight": false, + "fontStyle": false, + "lineHeight": false, + "letterSpacing": false, + "textDecoration": false } }, "core/group": { - "spacing": { - "blockGap": true - } - }, - "core/navigation": { - "spacing": { - "blockGap": true + "color": { + "button": false, + "link": false } }, "core/post-template": { "spacing": { - "blockGap": true + "blockGap": false } }, - "core/social-links": { - "spacing": { - "blockGap": true + "core/query-pagination": { + "color": { + "link": false, + "text": false } }, - "outermost/social-sharing": { - "spacing": { - "blockGap": true + "core/table": { + "color": { + "background": false, + "text": false } } }, "color": { + "customDuotone": false, "defaultGradients": false, "defaultPalette": false, + "defaultDuotone": false, "duotone": [], - "gradients": [], + "gradients": [ + { + "slug": "simple-black-horizontal", + "name": "Simple horizontal gradient from transparent to black", + "gradient": "linear-gradient(90deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%)" + }, + { + "slug": "simple-black-vertical", + "name": "Simple vertical gradient from transparent to black", + "gradient": "linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%)" + } + ], "palette": [ { "color": "#3050E5", @@ -696,4 +705,4 @@ } } } -} +} \ No newline at end of file From 670a2a5570fe0aa38b4f7c21d869780e0973f2d7 Mon Sep 17 00:00:00 2001 From: Geoff Dusome Date: Fri, 1 May 2026 10:14:49 -0400 Subject: [PATCH 3/3] add changelog entry --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b537b5a3..f0b08231 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,12 @@ All notable changes to this project will be documented in this file. The format on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). Each changelog entry gets prefixed with the category of the item (Added, Changed, Depreciated, Removed, Fixed, Security). +## [2026.05] + +- Updated: Open up the default block settings throughout ModernPress to allow more customization for design & client editors. New [Block Settings Support page](https://github.com/moderntribe/ModernPress/wiki/Block-Setting-Support) added to the GitHub Wiki. + ## [2026.04] + - Updated: all plugins, composer & npm packages to latest; pin React to v18 as an override to resolve conflicts between ` @dnd-kit/core` and `@wordpress/icons`; pin several other packages to newer versions to resolve security warnings. ## [2026.03] @@ -23,6 +28,7 @@ item (Added, Changed, Depreciated, Removed, Fixed, Security). - Added: XDebug documentation ## [2026.02] + - Added: `moderntribe/tribe_embed` composer package v1.1.0. - Updated: Renamed "Moose" to "ModernPress" across the project (excluding Lando configs and deployment pipelines). - Updated: Expected PHP version to v8.4, Node version to v24 LTS