Skip to content

Conversation

@jasperf
Copy link
Contributor

@jasperf jasperf commented Dec 8, 2025

This release represents a comprehensive cleanup and modernization of the Moiraine theme, streamlining its pattern library from 88+ inherited Ollie patterns down to a curated set of 45 essential patterns while introducing new typography options and enhanced design flexibility. The changes eliminate redundant patterns across card, menu, footer, header, and page template categories, replacing them with refined, production-ready alternatives that better align with modern WordPress block theme best practices. New pattern additions include hero variations, statistics showcases, team grids, and client review sections, while typography enhancements introduce the Bitter variable font family with nine preset variations. The update maintains full backward compatibility with existing theme functionality while improving code quality through WPCS compliance and documentation updates.

Pattern Library Restructuring:

  • Removed 61 legacy Ollie patterns including all 14 menu patterns (card, panel, mobile variations), 8 page templates, 11 card variations, 5 footer patterns, and 7 header patterns to reduce theme bloat and maintenance overhead
  • Added 7 new specialized patterns: hero-two-tone.php, hero-with-cta.php, client-reviews-orange.php, contact-info.php, cta-newsletter.php, feature-grid.php, stats-list.php, stats-showcase.php, team-grid.php, and testimonial-card.php
  • Updated 12 existing patterns with refinements to hero sections, call-to-action blocks, pricing tables, feature cards, and statistics displays, removing hardcoded inline gap styles and improving responsive layouts
  • Consolidated blog post and pricing table patterns from multiple variations down to single, more flexible implementations

Typography and Design System:

  • Integrated Bitter variable font family with both regular and italic weights (Bitter-VariableFont_wght.woff2, Bitter-Italic-VariableFont_wght.woff2) to expand typography options
  • Added typography presets configuration in theme.json enabling nine professional font combination variations accessible via WordPress Site Editor
  • Included new SVG icon assets (icon-lightning.svg, icon-package.svg, icon-star.svg, icon-users.svg) in the patterns images directory for enhanced visual design elements

Documentation and Developer Guidance:

  • Updated CHANGELOG.md, README.md, and readme.txt with comprehensive documentation of pattern changes, new features, and development workflow improvements
  • Enhanced WPCS compliance across PHP files with file header format standardization and coding standards fixes
  • Revised functions.php to reflect updated pattern categories and block style registrations aligned with the streamlined pattern library

Files Changed:

@jasperf jasperf changed the title Theme Cleanup 09 12 25 Theme Cleanup 09/12/25 Dec 8, 2025
@jasperf jasperf merged commit 7c420e3 into main Dec 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants