Skip to content

ACF Blocks v2.14.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Nov 13:19

What's Changed

Changed

  • Dark mode is now optional and off by default. Settings → ACF Blocks License → Dark Mode controls the dark fallback colors that follow the visitor's device. This changes existing sites on upgrade: blocks no longer use these colors unless the setting is on. Blocks stay readable on a light theme for visitors whose device prefers dark: on a theme with no color variables, block text on a white page goes from 1.19:1 to 8.32:1. A theme that goes dark with the device but defines no color variables needs the setting turned on, or its blocks will show dark text on a dark page. Colors the theme defines still follow the theme, including its own dark mode toggle. The acf_blocks_dark_mode_enabled filter can force the choice, and the rules moved from tokens.css to tokens-dark.css, which isn't loaded while the setting is off.

Commits

  • 2.14.0: Make dark mode optional and off by default (aa979af)
  • Document privacy and outbound connections in the readme (2008f01)

Stats

  • Commits: 2
  • Changes: 15 files changed, 221 insertions(+), 83 deletions(-)

Plugin Info

  • Blocks included: 33
  • Requires WordPress: 6.0+
  • Requires PHP: 7.4+
  • Requires: ACF Pro 6.0+ or Secure Custom Fields

Installation

  1. Download acf-blocks-plugin-*.zip from the assets below
  2. Go to Plugins → Add New → Upload Plugin in WordPress admin
  3. Upload the zip file and activate