Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Irisable Gutenberg Styles

IGS is a small, opt-in visual layer for WordPress Core blocks on irisable.com. The current release candidate is 0.1.0-rc5; the stable release will use 0.1.0 after the release gate passes. This release deliberately covers only four Core Heading styles.

Project direction

IGS is intentionally small and slow-moving. New styles are added only after a recurring editorial need has emerged from real use. Each change should stay opt-in, reversible, and narrow enough to test in the actual WordPress workflow; a smaller set of dependable styles is preferred to a larger catalogue of speculative options.

Verified environment

  • WordPress 7.1 (local integration and production editor targets)
  • PHP 8.3.31–8.3.32
  • Kadence 1.5.2

These versions describe the validation targets. The plugin header requires WordPress 7.0; no compatibility claim is made for WordPress versions before 7.0 or PHP versions before 8.3.

Included styles

Style Block Intended use
iris-left-line (左线) Core Heading H1–H6 A restrained section heading with an accent line
iris-underline (短下划线) Core Heading H1–H6 A section heading with a short decorative underline
iris-soft (淡底) Core Heading H1–H6 Occasional emphasis with a light background
iris-numbered (编号) Core Heading H2/H3 Sequential sections with CSS-generated numbering

Only iris-numbered is level-limited. It officially supports H2 and H3, using one flat sequence in document order. In the editor, the 编号 choice is hidden while an H1 or H4–H6 is selected. Existing unsupported numbered classes still degrade to an ordinary, structurally unchanged heading on the frontend. The other three styles continue to support all Core Heading levels.

Numbered headings honor Gutenberg left, center, and right alignment by moving the marker and title as one group. Wrapped lines retain the title's hanging indent.

When Kadence Theme JSON layout support is enabled, WordPress injects important automatic margins on root-level editor blocks. The narrowly scoped alignment repair retained in RC5 matches that priority for numbered headings inside the editor so Gutenberg's alignment controls remain truthful. Frontend alignment rules remain unchanged and non-important.

Installation

  1. Copy the irisable-gutenberg directory into wp-content/plugins/.
  2. Activate Irisable Gutenberg Styles.
  3. Select a Core Heading and choose an Irisable style from the block Styles panel.

The plugin has no settings page and writes no options, post metadata, or post content.

Ownership boundary

Whoever owns the data owns the Block. Whoever owns the visual specification owns the Style. Whoever owns a component guarantees its minimum usable styling. The site visual system decorates components; it does not rescue them.

Accordingly, IGS does not own Series data, Title Layer behavior, theme typography, Gallery layout, or third-party component fixes. Version 0.1.0-rc5 includes no custom blocks, Patterns, frontend JavaScript, remote assets, fonts, or build system. One dependency-free editor-only script hides the unsupported numbered choice; it never runs on the frontend and writes no content or settings.

Rollback

Deactivate IGS. Core Heading content and heading levels remain intact; only the selected Irisable appearance is removed.

Release gate

Every release candidate follows this sequence:

Developer Agent
    ↓
implement + self-test
    ↓
commit
    ↓
Independent QA Agent
    ↓
read-only source review
E2E / visual / regression
no production-code changes
    ↓
TEST-REPORT.md

FAIL → Developer
PASS → Release Candidate

About

A small, opt-in collection of restrained Gutenberg styles for WordPress.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages