airfleet/airfleet-elements-colors-plugin

Project releases

airfleet-elements-colors-plugin

Release 2.2.0

Adds support for injecting color CSS variables and classes into the block editor iframe

GitHub
View full changelog

Added

  • Added enqueue_block_assets support to inject color CSS variables, text color classes, background color classes, and border color classes into the block editor iframe
airfleet-elements-colors-plugin

Release 2.1.0

Adds gradient components and CSS variables for background styling.

GitHub
View full changelog

Added

  • Added new component elements-components-background-gradient to use in the Background component to add background gradient styles
  • Added new component elements-components-color-gradient as a base component to be used in another components for gradient styles. Currently used in Background gradient component. Supporting five types for now: linear-gradient, radial-gradient, conic-gradient, repeating-linear-gradient and repeating-radial-gradient with basic options
  • Added option "Create CSS gradient presets classes" to the plugin options ACF page. Default is set to true
  • Added filter airfleet/elements/colors/gradients/presets to allow customization of gradient presets
  • Added CSS classes afc-gradient--background-{preset} for the color gradients
  • Added CSS variables --afu-gradient-{preset} for the color gradients
  • Added function airfleet_colors_gradient() (returns gradients API instance)
airfleet-elements-colors-plugin

Release 2.0.0

Requires PHP 8.2 and switched package manager to Bun.

GitHub
View full changelog

Changed

  • Breaking: Increased PHP version requirement to >=8.2
  • Breaking: Added new dependency - Airfleet Framework plugin - and removed scoped framework composer package
  • Added plugin dependencies in main plugin file (Requires Plugins metadata field)
  • Internal: Increased Node.js version requirement to >=24
  • Internal: Bump npm dependency @airfleet/wordpress-dev to ^4.0.0
  • Internal: Bump composer dependency airfleet/wordpress-dev to ^4.0.0
  • Internal: Switched package manager to Bun
  • Internal: Updated linters and development tools
  • Internal: Updated configuration for development tools
  • Internal: Moved configuration sections from package.json to dedicated config files
  • Internal: Updated browserslist configuration
  • Internal: Updated package.json scripts to use Airfleet CLI
  • Internal: Updated README.md to remove Getting Started and Documentation sections
  • Internal: Updated Plugin URI metadata field in main plugin file
  • Internal: Updated GitHub workflows
  • Internal: Added .airfleet-license and .airfleet-visible
airfleet-elements-colors-plugin

Release 1.2.0

Updated components to add support for airfleet/elements/empty/$slug filter

GitHub
View full changelog

Changed

  • Updated components to add support for airfleet/elements/empty/$slug filter
airfleet-elements-colors-plugin

Release 1.1.0

Added helper to return CSS variables for colors

GitHub
View full changelog

Added

  • Added helper/directive $_color_value/@color_value_value (return the CSS variable of a preset color or a custom CSS color value given color component data)
airfleet-elements-colors-plugin

Release 1.0.1

Fixed a false positive error flagged by the Wordfence plugin during scans

GitHub
View full changelog

Fixed

  • elements-partials-color: fixed a false positive error flagged by the Wordfence plugin during scans
airfleet-elements-colors-plugin

Release 1.0.0

Updated several element color options and their admin fields.

GitHub
View full changelog

Changed

  • Updated text color option for elements-components-text-advanced to show under Style tab
  • Updated text color option for elements-components-title-advanced to show under Style tab
  • elements-components-color: excluded from having responsive options
  • elements-components-color: updated field design in admin
  • Updated browserslist version
airfleet-elements-colors-plugin

Release 0.3.5

Fixed a bug where the preset color badge was cut off in the select field in the editor under certain conditions.

GitHub
View full changelog

Fixed

  • elements-components-color: fixed Preset color badge being cutoff in select field in the editor under certain situations
airfleet-elements-colors-plugin

Release 0.3.4

Fixed Preset color select dropdown menu appearance in the editor

GitHub
View full changelog

Fixed

  • elements-components-color: fixed Preset color select dropdown menu appearance in the editor
airfleet-elements-colors-plugin

Release 0.3.3

Fixed preset color select field appearance in editor

GitHub
View full changelog

Fixed

  • elements-components-color: fixed Preset color select field appearance in the editor
airfleet-elements-colors-plugin

Release 0.3.2

Default 'Add text color option to blocks' setting is now disabled

GitHub
View full changelog

Changed

  • Changed default value of setting "Add text color option to blocks" to disabled
airfleet-elements-colors-plugin

Release 0.3.1

Refactored elements-partials-color to use $_styles helper

GitHub
View full changelog

Changed

  • Refactored elements-partials-color to use $_styles helper
airfleet-elements-colors-plugin

Release 0.3.0

Updated views to use $_slot for color and background color elements

GitHub
View full changelog

Changed

  • Updated views to use $_slot (elements-partials-color, elements-components-color, elements-components-background-color)
airfleet-elements-colors-plugin

Release 0.2.0

Added elements-components-background-color to elements-background flexible component

GitHub
View full changelog

Added

  • Added elements-components-background-color to elements-background flexible component
airfleet-elements-colors-plugin

Release 0.1.0

Added numerous features for customizing colors in elements and components.

GitHub
View full changelog

Added

  • Added function airfleet_colors() (returns colors API instance)
  • Added filter airfleet/elements/colors (customize colors)
  • Added option for generating CSS variables (--afu-color-{$slug})
  • Added option for generating CSS text color classes (.afu-color--text-{$slug})
  • Added option for generating CSS background color classes (.afu-color--background-{$slug})
  • Added option for generating CSS border color classes (.afu-color--border-{$slug})
  • Added helper $_text_color_class / Blade directive @text_color_class (return text color class given color data)
  • Added helper $_background_color_class / Blade directive @background_color_class (return background color class given color data)
  • Added helper $_border_color_class / Blade directive @border_color_class (return border color class given color data)
  • Added view elements-partials-color (render an element with optional text, background, border color)
  • Added view elements-components-color (pick from default, preset, or custom color)
  • Added view elements-components-background-color (set background color)
  • Added option to add text color to elements-components-title-advanced
  • Added option to add text color to elements-components-text-advanced
  • Added option to add text color to all blocks
  • Added filter airfleet/elements/colors/blocks/exclude (exclude blocks from having text color setting auto-added)