Skip to content

Release 1.0.7 - #21

Merged
firestar300 merged 4 commits into
mainfrom
ver/1.0.7
May 26, 2026
Merged

firestar300 merged 4 commits into
mainfrom
ver/1.0.7

Conversation

@firestar300

@firestar300 firestar300 commented May 26, 2026 •

Copy link
Copy Markdown
Contributor

Release 1.0.7


Note

Low Risk
Small, localized change to color sanitization and output in BlockRenderer with no auth or data-model impact.

Overview
Release 1.0.7 bumps plugin metadata across PHP, npm, and block.json and documents the release in the changelog.

The functional change is in BlockRenderer: icon fill color is no longer limited to sanitize_hex_color. A new sanitize_icon_color helper accepts hex, Block Editor preset strings (var:preset|color|… → var(--wp--preset--color--…)), and validated var(--…) forms (with optional hex fallback). Valid colors are applied to both inline fill style and the SVG fill attribute so theme/CSS custom property colors render on the front end.

Reviewed by Cursor Bugbot for commit f179d81. Bugbot is set up for automated code reviews on this repo. Configure here.

chore: bump plugin version
Previously, icon fill colors were restricted to hex values. This update allows icons to use theme-defined color palettes and custom CSS properties for greater styling flexibility.
fix(icons): support block editor color presets and CSS variables
@firestar300
firestar300 merged commit 15c5637 into main May 26, 2026
4 of 6 checks passed
@firestar300
firestar300 deleted the ver/1.0.7 branch May 26, 2026 13:32
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