Repository navigation
Release 1.0.7 - #21
Merged
Merged
Conversation
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
mpertici-beapi
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 tosanitize_hex_color. A newsanitize_icon_colorhelper accepts hex, Block Editor preset strings (var:preset|color|…→var(--wp--preset--color--…)), and validatedvar(--…)forms (with optional hex fallback). Valid colors are applied to both inlinefillstyle and the SVGfillattribute 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.