2.10.1
What’s Changed
Fixed
- Filled buttons were unreadable in 2.10.0. The 2.10.0 conversion mapped several filled controls to
--acfb-surface-3, a light neutral, while leaving their text inverted white — so they rendered as pale text on a pale fill. Affected: the Product Box primary and Amazon buttons and its discount badge, the Product List primary button and rank chip, and the Coupon Code copy button. - Filled controls now use
--acfb-button, which the theme guarantees pairs with--acfb-button-text. Measured 5.44:1 in both light and dark. - The Product Box Amazon button is now a readable neutral secondary (dark text on a light fill, 13.4–14.4:1) rather than a second full-strength fill, so the card keeps one primary action. Its hover no longer darkens toward the brand colour underneath dark text.
Notes
- Added a regression test rejecting any filled control whose background is a
--acfb-surface-*token while its paired text is--acfb-on-primary.
Commits
- 2.10.1: fix unreadable filled buttons from the token conversion (
79879cf)
Stats
- Commits: 1
- Changes: 11 files changed, 63 insertions(+), 12 deletions(-)
Plugin Info
- Blocks included: 29
- Requires WordPress: 6.0+
- Requires PHP: 7.4+
- Requires: ACF Pro 6.0+ or Secure Custom Fields
Installation
- Download
acf-blocks-plugin-*.zipfrom the assets below - Go to Plugins → Add New → Upload Plugin in WordPress admin
- Upload the zip file and activate
