Skip to content

Commit 1e1fb5e

Browse files
committed
WordPress 6.9 compliance and styles refactoring
- theme.json enhancements: border-radius, aspect-ratio, shadow presets, fluid typography, focus states - Enhanced block styles: button-primary, button-rounded, heading-serif with pseudo-selectors - Refactored section styles: hero-section, content-section with responsive spacing - Comprehensive documentation: DELIVERY-SUMMARY, WORDPRESS-6.9-COMPLIANCE-SUMMARY, STYLES-IMPLEMENTATION-ROADMAP, PROPOSED-STYLES-ARCHITECTURE, IMPLEMENTATION-CHECKLIST, THEME-JSON-ENHANCEMENTS, enhanced standardising-colours-fonts-spacing.md - WCAG 2.1 Level AA compliant
1 parent 10c7cdd commit 1e1fb5e

15 files changed

+5035
-327
lines changed

DELIVERY-SUMMARY.md

Lines changed: 422 additions & 0 deletions
Large diffs are not rendered by default.

DEVELOPMENT.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ audience: Developers
77
date: 2025-12-01
88
---
99

10-
# Development Guide
11-
1210
This document provides comprehensive information for developers working on {{theme_name}}.
1311

1412
## Prerequisites
@@ -476,6 +474,20 @@ The `theme.json` file controls all theme settings:
476474
1. Create new pattern files in the `patterns/` directory
477475
2. Register patterns in `inc/block-patterns.php`:
478476

477+
```php
478+
register_block_pattern(
479+
'{{theme_slug}}/pattern-name',
480+
array(
481+
'title' => __( 'Pattern Name', '{{theme_slug}}' ),
482+
'description' => __( 'Pattern description', '{{theme_slug}}' ),
483+
'content' => '<!-- wp:paragraph --><p>Content</p><!-- /wp:paragraph -->',
484+
'categories' => array( 'featured' ),
485+
)
486+
);
487+
```
488+
489+
3. Add pattern categories as needed in `inc/block-patterns.php`
490+
479491
```php
480492
register_block_pattern(
481493
'{{theme_slug}}/pattern-name',
@@ -488,7 +500,7 @@ register_block_pattern(
488500
);
489501
```
490502

491-
3. Add pattern categories as needed in `inc/block-patterns.php`
503+
4. Add pattern categories as needed in `inc/block-patterns.php`
492504

493505
### Adding Style Variations
494506

0 commit comments

Comments
 (0)