diff --git a/CHANGELOG.md b/CHANGELOG.md index 09e4466..fb1abbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.1.1 - [May 5, 2026] + +- Fixed: Theme.json is reset to allow block overrides while still maintaining style defaults + ## 3.1.0 - [April 12, 2026] - Added: PMPro_Handler to lock down CPTs and Queries for Consistency Club posts diff --git a/style.css b/style.css index 11f7e3d..583e43f 100644 --- a/style.css +++ b/style.css @@ -2,9 +2,9 @@ Theme Name: Macros By Sara WP Theme Theme URI: https://github.com/macrosbysara/wordpress-theme Author: KJ Roelke -Author URI: https://kjroelke.online +Author URI: https://www.kjroelke.online Description: A WordPress Theme built for Macros By Sara site -Version: 3.1.0 +Version: 3.1.1 Requires at least: 6.7.0 Tested up to: 6.9.4 Requires PHP: 8.2 diff --git a/theme.json b/theme.json index be3e273..a01e217 100644 --- a/theme.json +++ b/theme.json @@ -240,65 +240,20 @@ "right": "calc(var(--wp--preset--spacing--lg) * .5)", "top": "0" }, - "blockGap": "var:preset|spacing|none" + "blockGap": "var:preset|spacing|sm" }, "typography": { "fontFamily": "var:preset|font-family|body", "fontSize": "var:preset|font-size|root", "fontWeight": "400", - "fontStyle": "normal" + "fontStyle": "normal", + "lineHeight": "1.5" }, "color": { "text": "var:preset|color|primary" }, + "css": "text-wrap:pretty", "blocks": { - "core/heading": { - "typography": { - "fontFamily": "var:preset|font-family|headings" - }, - "spacing": { - "margin": { - "bottom": "var:preset|spacing|sm", - "top": "var:preset|spacing|none" - } - }, - "color": { - "text": "var:preset|color|primary" - } - }, - "core/list": { - "typography": { - "fontFamily": "var:preset|font-family|body", - "fontSize": "var:preset|font-size|root" - }, - "color": { - "text": "var:preset|color|primary" - } - }, - "core/list-item": { - "typography": { - "fontFamily": "var:preset|font-family|body", - "fontSize": "var:preset|font-size|root" - }, - "color": { - "text": "var:preset|color|primary" - } - }, - "core/paragraph": { - "color": { - "text": "var:preset|color|primary" - }, - "typography": { - "fontFamily": "var:preset|font-family|body", - "fontSize": "var:preset|font-size|root" - }, - "spacing": { - "margin": { - "bottom": "var:preset|spacing|base", - "top": "var:preset|spacing|none" - } - } - }, "core/cover": { "spacing": { "padding": { @@ -453,15 +408,23 @@ "text": "var:preset|color|primary" }, "typography": { - "fontFamily": "var:preset|font-family|headings" - }, - "spacing": { - "margin": { - "bottom": "var:preset|spacing|sm", - "top": "0" - } + "fontFamily": "var:preset|font-family|headings", + "lineHeight": "calc(3ex + 4px)" }, "css": "text-wrap:pretty" + }, + "link": { + "color": { "text": "var:preset|color|primary-light" }, + + ":link": { + "color": { "text": "var:preset|color|primary-light" } + }, + ":visited": { + "color": { "text": "var:preset|color|primary-light" } + }, + ":hover": { + "color": { "text": "var:preset|color|primary" } + } } } }